Skip to content

Function round()

round(value: number, precision?: number): number

Source: math.utils.ts

Rounds a value.

Parameters

value

number

The value to round.

precision?

number

The precision to round with.

Returns

number

Built by Prozilla