Here is an example showing how to format text strings, including Text Field widgets, such that commas show up as needed. Please note this does not work in most browsers when the Text Field widget is set to Type: Number (exception being MSIE.)
The secret is to use the built-in string.toLocaleString() function, as described in this thread:
https://forum.axure.com/t/number-formatting-and-sorting-in-a-repeater/26674/11?u=mbc66
There is also an example of how to supress decimals (or set decimal to any number of significant places) using the toFixed() function, as well as combining this with the “comma formatting.”
FormatNumbersWithCommas.rp (70.4 KB)