• Formats the given number to the given number of decimals, and returns the number as a string, maximum 35 characters.

    Parameters

    • number: any
    • digitCount: any
    • separateThousands: any

      set this to true to separate thousands values

    • OptionalseparateChar: string

      a caracter to be paced between the "thousands"

    Returns string