Convert amount (number) into words based on currency
I have a requirement to convert amount (number) into words based on currency. I tried doing in RTF template but did not succeed.
Example : If the Currency = 'INR' and amount = 549.67 then it should show " FIVE HUNDRED FORTY NINE RUPEES SIXTY SEVEN PAISA"
If the Currency = 'INR' and amount = 250 then it should show " TWO FIFTY"
Can anyone help me out.
Thanks