Math
Round

_.round(number, [precision=0])

Computes number rounded to precision.

Arguments

number (number): The number to round. [precision=0] (number): The precision to round to.

Returns

(number): Returns the rounded number.

Example

Deep