Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
try this
var text Price = [Annual Surcharge Total] ;
var text FormattedNumber =
"$" &
ToFormattedText([Price],"comma_dot",3) &
If(
not Contains(ToText([Price]),"."),
".00",
Length(Right(ToText([Price]),"."))=1,"0"
);
"<div style=\"background-color:pink;\">"& $FormattedNumber &"</div>"
var text Price = [Annual Surcharge Total] ;
var text FormattedNumber =
"$" &
ToFormattedText([Price],"comma_dot",3) &
If(
not Contains(ToText([Price]),"."),
".00",
Length(Right(ToText([Price]),"."))=1,"0"
);
"<div style=\"background-color:pink;\">"& $FormattedNumber &"</div>"