Display value with 1 decimal digit
Class Sample
Public Shared Sub Main()
Dim numbers() As Integer = { -123123, 0, 1, 123123 }
For Each number As Integer In numbers
Console.Write("{0,13:N1}", number)
Next
End Sub
End Class
Related examples in the same category