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.Truncate(pt1) Console.WriteLine(pt4.ToString()) End Sub End class
{X=30,Y=30}