Displaying 1 result from an estimated 1 matches for "to_dollars".
2006 May 10
3
NumbersToWords
= numbersToWords - convert your integers and floats to english or
japaneese words,or translate it into american currency
- This plugin was created from a solution to the ruby quiz (english
numbers) by Matthew D Moss. I modified the code to work as a rails
plugin and added the to_dollars method.
- the to_dollars method will work with integers and floats
- the to_english and to_japaneese methods will only work with integers.
If you have call these methods on a float, it will be converted to an
integer before translating.
= Examples
123.to_english == one hundred and twenty-three
1...