Decimal To Text Conversion

I have a function in a report to convert decimal amounts to text.(Please see below)

Text Amount := FORMAT(ABS(“Cust. Ledger Entry”.Amount));

The issue im facing is that, when the decimal is 50.10, TextAmount is only returning 50.1 instead of 50.10. it ignores the zero at the end.

For any decimal number ending with 0, the format function doesn’t return a value

Do you always have 2 digits in decimal values?

then try

Text Amount := FORMAT(ABS(“Cust. Ledger Entry”.Amount),0,’<Precision,2:2><Standard Format,0>’);