Displays a negative value with the default number of decimal digits (2)
Imports System
Imports System.Globalization
Class NumberFormatInfoSample
Public Shared Sub Main()
Dim nfi As NumberFormatInfo = New CultureInfo("en-US", False).NumberFormat
Dim myInt As [Double] = 0.1234
Console.WriteLine(myInt.ToString("P", nfi))
End Sub
End Class