Format Float as Decimal with D
Imports System Imports Microsoft.VisualBasic Class Sample Public Shared Sub Main() Console.Clear() Console.WriteLine("(D) Decimal:. . . . . . . . . {0:D}" & vbCrLf & - 123, - 123.45F) End Sub End Class