Forum Discussion

AmyGosz2's avatar
AmyGosz2
Qrew Cadet
6 years ago

Formula-Rich Text field dropping the currency setting from the formula field

I have a Formula Numeric field to create a 'total'. I want to take this 'total' and display it with a colored background. I set up a Formula-Rich Text field to do this. However, the Rich Text field is dropping the 2 decimal places. For example: 1000.00 displays as 1000, 337.50 displays as 337.5. 

Here is the formula I am using:
 "<div style=\"background-color:pink;\">"& [Annual Surcharge Total] &"</div>"

How can I get the Formula Rich Text field to display 2 decimal points?