|
March 1, 2000 Rounding Numbers Up Tips: March 2000
Yehuda Shiran, Ph.D.
|
|
The Math.ceil() method accepts a single numeric argument and returns the next integer greater than or equal to the argument (rounding up). Therefore, the returned value is never less than the argument. Here are a few examples:
Let's say you need to fit
People who read this tip also read these tips: Look for similar tips by subject: |
| ||||||||||||||||||||