Imports System
Imports Microsoft.VisualBasic
Imports System.Globalization
Module MainClass
Sub Main( )
Dim value As Decimal = -99999.62d
' Display value using default ToString method.
Console.WriteLine(value.ToString())
' Display value using some standard format specifiers.
Console.WriteLine(value.ToString("G"))
Console.WriteLine(value.ToString("C"))
Console.WriteLine(value.ToString("F"))
End Sub
End Module