I have an extended problem… I have searched through the entire forum to solve. I need to use .toLocaleString() on a repeater to add commas to the number set. I also need to add toFixed(2) in order to format that string with 2 decimal places so I can display it as currency.
any help will be amazing. still can’t believe there isn’t a simple currency ability in axure.
Currently I am using something like this.
$[[(item.column*1).toLocaleString()]]
this grabs 3456 and makes it $3,456 as it should
if I use
$[[(item.column*1).toFixed(2)]]
it grabs 3456 and makes it $3456.00 as expected
How do I combine the two so it’s a comma formatted number with 2 decimal places