Forum Discussion
QuickBaseCoachD
11 years agoQrew Captain
My current tightest formula is this one
var number Value = Round([currency number],0.01);
var text Decimals = "." & Right(ToText(Int($value * 100)),2);
var text Thousands = If($Value>=1000,ToText(Int($Value/1000)));
var text Hundreds=Right(ToText(Int($Value)),3);
If($Value=0,"$0.00",
If($Value<0, "- ")
&
"$" & List(",",$Thousands,$Hundreds) & $Decimals)
var number Value = Round([currency number],0.01);
var text Decimals = "." & Right(ToText(Int($value * 100)),2);
var text Thousands = If($Value>=1000,ToText(Int($Value/1000)));
var text Hundreds=Right(ToText(Int($Value)),3);
If($Value=0,"$0.00",
If($Value<0, "- ")
&
"$" & List(",",$Thousands,$Hundreds) & $Decimals)