Forum Discussion
JamesBlackford
6 years agoQrew Member
Would like this formula to show whole dollars without the decimals. Output should show something like: $1,234 or $12,456 or $564
Thx
var text FormattedNumber =
"$" &
ToFormattedText([Annual Surcharge Total],"comma_dot",3) &
If(
not Contains(ToText([Annual Surcharge Total]),"."),
".00",
Length(Right(ToText([Annual Surcharge Total]),"."))=1,"0"
);
Thx
var text FormattedNumber =
"$" &
ToFormattedText([Annual Surcharge Total],"comma_dot",3) &
If(
not Contains(ToText([Annual Surcharge Total]),"."),
".00",
Length(Right(ToText([Annual Surcharge Total]),"."))=1,"0"
);