34,333
edits
Changes
→Rounding and Truncating Numbers with the the Math Object
== Rounding and Truncating Numbers with the the Math Object ==
The ''ceil()'', ''floor()'' and ''round()'' methods of the JavaScript Math object can be used to round number numbers up and down: