Skip to content
Functionutilsv0.8.17

round

Rounds a number to a specified number of decimal places.

round(
    num: number,
    precision: number
): number