num_to_english is my first plugin, i kinda thought it would become a nice addition to the Fixnum class in Ruby.
num_to_english hooks up to the Fixnum class and enables the use of the to_english method as follows
eizesus@eizesus-desktop:~/Projects/testing/trunk$ script/console
Loading development environment.
>> 3.to_english
=> "three"
>> 12.to_english
=> "twelve"
>> 34.to_english
=> "thirty-four"
>> 100.to_english
=> "one hundred"
>> (100 + 321).to_english
=> "four hundred twenty-one"
>> 12312311.to_english
=> "twelve million, three hundred twelve thousand, three hundred eleven"
get it from http://svn.creopolis.com/num_to_english/trunk


5 comments:
April 12, 2007 1:33 PM
SVN is asking for a username/password
April 12, 2007 1:56 PM
sorry, should be fixed soon.
July 20, 2007 6:07 AM
SVN is still wanting a password..... ?
August 16, 2007 7:56 AM
ga li bafin boz beoz
August 22, 2008 6:32 AM
Still it is asking for username and password
Post a Comment