Categories: None [Edit]

human_numbers

https://rubygems.org/gems/human_numbers
https://github.com/kybp/human_numbers
human_numbers defines the method #to_english on the classes Float and Integer, as well as the method #to_french on the Integer class, for converting numbers to natural language strings. By default, a cardinal number will be returned (one, two, three), but supplying an :ordinal argument will cause it to return an ordinal (first, second, third). It works with numbers whose absolute value is less than 10^33. #to_french supports a second argument for specifying the gender of the word, which can be either :masculine or :feminine.

Total

Ranking: 94,368 of 192,692
Downloads: 9,125

Daily

Ranking: 37,015 of 192,666
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
99464,953,038simplecov
96750,894,457minitest-reporters

Owners

#GravatarHandle
1iconkybp