Imports System.Drawing Imports System.Drawing.Drawing2D Imports System.Windows.Forms public class MainClass public Shared Sub Main Dim pt1 As New PointF(30.6F, 30.8F) Dim pt4 As Point = Point.Ceiling(pt1) Console.WriteLine(pt4.ToString()) End Sub End class
{X=31,Y=31}