Format Float as Fixed point with F
Imports System Imports Microsoft.VisualBasic Class Sample Public Shared Sub Main() Console.Clear() Console.WriteLine("(F) Fixed point:. . . . . . . {0:F}", - 123.45F) End Sub End Class
1. | Format Float as currecy with C | ||
2. | Format Float as Decimal with D | ||
3. | Format Float as Scientific with E |