K
kevininstructor
The following was copied from a web site for learning formatting.
Dim myInt As Integer = 100
Dim FormatPrice As String = String.Format("Price = |{0,10:c }|", myInt)
Console.WriteLine(FormatPrice)
The result shown is no number but the character c as in the format string.
Is the format not valid in this context?
Thanks for your assistance,
Kevin
Dim myInt As Integer = 100
Dim FormatPrice As String = String.Format("Price = |{0,10:c }|", myInt)
Console.WriteLine(FormatPrice)
The result shown is no number but the character c as in the format string.
Is the format not valid in this context?
Thanks for your assistance,
Kevin