Skip to content

round

round(value, options?): number

Defined in: packages/core/src/number/round.ts:55

Rounds a number to a given precision using the specified rounding method.

number

The number to round.

RoundOptions

Rounding options.

number

The rounded number.