@labkey/api
    Preparing search index...

    Function roundNumber

    • Rounds the passed number to the specified number of decimals

      Parameters

      • input: number

        The number to round

      • dec: number

        The number of decimal places to use

      Returns number

      The rounded number