I have a dollars and cents amount that I am trying to convert to text using formula and everything works fine when the cents are more then 10 cents, but when I have for example $4.06 it shows as 6 and I need to show as 06 without the decimal.
Can someone advise please, this is my code:
if pAmt > 0 then
InWords := InWords + " Dollars and " + Left(ToText(pAmt),2) + "/100" //+ towords(pAmt,0) + " only"
InWords := InWords + " Dollars only";