.round(places)
Description
The round method returns the rounded version of its input value.
Parameters
If round gets no parameters, it rounds to the nearest 1. For example 10.5 will get rounded up to 11.
If round get parameter, it will round to the number of decimal points you tell it to.
Usage On Numbers
Last updated
Was this helpful?