roundToNearest

Rounds this number to the nearest value.

Parameters

value

to round to