RSS Links

 

Here are all of the RSS links for sections of this site

VB.NET/ASP.NET
 Java
 Unix/Linux
 Windows
 SQL Server

Home arrow VB.NET/ASP.NET arrow Outputting an integer to two decimal points in VB.NET
Outputting an integer to two decimal points in VB.NET PDF Print E-mail
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 )
 
< Prev   Next >
 
Designed by Graham Robinson Software