107
rated 0 times
[
114]
[
7]
/ answers: 1 / hits: 19551
/ 13 Years ago, wed, august 24, 2011, 12:00:00
Possible Duplicate:
How can I round of to whole numbers in JavaScript?
In javascript is there a function which allows me to round to the nearest integer? Either up or down.
So:
2.1 = 2
2.9 = 3
4.5 = 5
1.1 = 1
More From » math