SQL PHP HTML ASP JavaScript articles and free scripts to download

ASP round function to format decimal place in ASP

Round function is used to round of a number and format the number as per requirment.

Round(5.768) will return 6
Round(5.368) will return 5
Round(0.768) will return 1
Round(-3.368) will return -3

We can format a number as per requirement of decimal place. For example we want the number should display two decimal places only.

Round(5.768,2) will return 5.77

The above line is rounded off to two decimal place.

Be the first to post comment on this article :


Google+

Further readings
Round function to format decimal place in a number
Math functions INT
Random Number generator using Random function
Percentage value by using FormatPerecnt function
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer