Ruby on Rails
numbersToWords (Version #2)

Simple to use plugin to convert numbers into their english or japaneese counterparts. It will work in all parts of your application (model,views,sweeper,controller). Here are some examples

= Examples
123.to_english == one hundred and twenty-three

123.to_japaneese == hyaku niju san 123.to_dollars == one hundred and twenty-three dollars money = 123.23 money.to_dollars == one hundred and twenty-three dollars and twenty-three cents money = 1.01 money.to_dollars == one dollar and one cent

The plugin was derived from a solution to the ruby quiz

Simple to use plugin to convert numbers into their english or japaneese counterparts. It will work in all parts of your application (model,views,sweeper,controller). Here are some examples

= Examples
123.to_english == one hundred and twenty-three

123.to_japaneese == hyaku niju san 123.to_dollars == one hundred and twenty-three dollars money = 123.23 money.to_dollars == one hundred and twenty-three dollars and twenty-three cents money = 1.01 money.to_dollars == one dollar and one cent

The plugin was derived from a solution to the ruby quiz