/ Published in: VB.NET
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Imports System Namespace StripDecimal_VB Class RemoveDecimal Shared Sub Main(ByVal args As String()) Dim testNum As Double = 255.95 Console.WriteLine("Original Value: " + testNum.ToString()) Console.WriteLine("Value w/No Decimal: " + noDecimalVal) End Sub End Class End Namespace