|
Outputting an integer to two decimal points in VB.NET |
|
|
|
|
Saturday, 15 November 2008 |
Use
Dim nos as Integer = 10
System.out.println("The number is " & nos.toString("F2"))
This would output The number is 10.00
For other formats look at http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx
|
|
Last Updated ( Wednesday, 31 December 2008 )
|