Possible Duplicate:
converting numbers in to words C#
I am requiring an algorithm to convert currency amount to currency in words. The primary requirement is to have a generic algorithm so it takes culture information as a parameter along with the actual amount and display the amount in words accordingly and vice versa.
For example,
- Input: 1157259.50 (Ringgits - Malaysian Currency)
- Output: One Million One Hundred Fifty-Seven Thousand Two Hundred Fifty-Nine Ringgits and Fifty Cents