Chok’s Typescript Utilities
    Preparing search index...

    Function roundS

    • Returns a string with the number in the exact number of decimal places specified, in case the number ends with zeroes.

      Parameters

      • n: number
      • numDecimalPlaces: number = 0

      Returns string