Issue: Currency Fields on Form Engine forms don’t display trailing zeros, like the $544.50 amount below (this is due to a limitation in Quickbase’s API).
This solution for this is to create a Formula-Rich Text field, and put this formula in it:
var number Currency = [NAME OF CURRENCY FIELD];
"$" &
If([NAME OF CURRENCY FIELD]=0,ToText("0.00"),
If([NAME OF CURRENCY FIELD]>0,
ToFormattedText([NAME OF CURRENCY FIELD],"comma_dot",3) &
If(not Contains(ToText($Currency),"."), ".00",
Length(Right(ToText($Currency), "."))=1,"0")))
NOTE: “Name of Currency Field” is the Currency Field that is missing the trailing zero.
Here is the resulting Formula-Rich Text field in Quickbase, fixing the [Line Item Subtotal] currency field:
The Formula – Rich Text field displays the currency values correctly: