BigDecimal to letters

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 H. 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs