Is there a way to format a field so it shows comma separators for large numbers?

  • Profile Image
    AMDLLCINFO
    Asked on January 19, 2018 at 04:48 PM

    I have several input number fields used to calculate results in a Form Calculation widget. They are usually large numbers (in the millions) and difficult for the users to confirm are correct without commas in the numbers. Is there a way to format the field so that the number they type in is displayed with comma separators (thousands, millions, etc.)?

  • Profile Image
    Jim_R
    Answered on January 19, 2018 at 06:51 PM

    You can use the commaSeparate() function to achieve that.

    Related guide: Form-Calculation-Math-Function-Reference

    (look for the 4. commaSeparate() section)

    Any value that is inside the parentheses will be comma separated automatically.