Forum Discussion
CarlosSantiago
9 years agoQrew Trainee
FYI - I was using this formula to display a discount (negative number) and it was dropping out the thousands place (i.e. instead of showing "-$1,500.00" it was showing "-$500". The way the Thousands variable is set up, it kicks in if the number is greater than 1,000. Well, it's also true if it's less than -1,000. I added the Abs function to get it to work:
var text Thousands =
If(Abs($Value)>=1000,ToText(Int(Abs($Value)/1000)));
var text Thousands =
If(Abs($Value)>=1000,ToText(Int(Abs($Value)/1000)));