sparkengineweb
    Preparing search index...

    Function toRounded

    • Rounds a number to a specified precision.

      Parameters

      • num: number

        the number to round

      • precision: number

        = - the number of decimal places to round to

      Returns number

      • the rounded number