round
Rounds a number or a time/duration with a specified unit.
Description
The round
function rounds a number x
to an integer.
For time and duration values, use the second unit
argument to define the
rounding unit.
Examples
Round integers
Round time and duration values
See Also
ceil
, floor