Decimal Simple Rounding Script
CSGNetwork Custom Search
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back
Right click this window and select "view source" in order to copy the source for this script.
Decimal Simple Rounding Script
This
calculator
requires the use of
Javascript
enabled and capable browsers. The default number of decimal places is 2 but can be set to any number between 0 and 18. This example demonstrates the use of a JavaScript rounding routine. You are welcome to use the code.
Enter a value with decimal places at the end of it
Enter desired number of digits right of the decimal
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The correct rounded value is
Version 2.0.0
For More Calculators, Converters and Tables
Registered® Trademark™ and CopyrightŠ 1973 -
CSG, Computer Support Group, Inc. and CSGNetwork.Com
All Rights Reserved
Home
|
Advertising
|
Calculators and Converters
|
Contact Us
|
Javascript
|
Sitemap
|
Glossary
|
Top Free Apps
Registered® Trademark™ and CopyrightŠ 1973 -
CSG, Computer Support Group, Inc. and CSGNetwork.Com
All Rights Reserved
Home
|
Advertising
|
Calculators
|
Search
|
Contact Us
|
Snippets
|
Sitemap
|
Glossary
|
Top Apps