NumberFormatInfo.PercentGroupSeparator
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] = 1234.5678
Console.WriteLine(myInt.ToString("P", nfi))
nfi.PercentGroupSeparator = " "
Console.WriteLine(myInt.ToString("P", nfi))
End Sub
End Class
Related examples in the same category