Is there a method that converts BigDecimal 1520.0 to "one thousand five hundred and twenty"?
Is there a method that converts BigDecimal 1520.0 to "one thousand five hundred and twenty"?
http://english.rubyforge.org/rdoc/index.html
Looks like it will do what you want.
-philip
Philip Hallstrom wrote:
Is there a method that converts BigDecimal 1520.0 to "one thousand
five hundred and twenty"?http://english.rubyforge.org/rdoc/index.html
Looks like it will do what you want.
It look like it does it for integers. Thanks, I'll use their code as a starting point.