x4js - v2.3.33
    Preparing search index...

    Function formatNumber

    • a number as text in the current locale: "1 234,5" in fr-FR, "1,234.5" in en-US

      Parameters

      • value: number
      • Optionaldecimals: number

        the most decimals shown (Intl: 3 when not given)

      • grouping: boolean = true

        the separator of thousands, true by default

      Returns string