Belin.io Core
    Preparing search index...

    Function round

    • Rounds a floating-point number.

      Parameters

      • value: number

        The value to round.

      • precision: number = 0

        The optional number of decimal digits to round to.

      Returns number

      The value rounded to the given precision.