Command line utility to format a number with commas, and (optionally) output the word for the number.
For example, fmtnum 1000000
would output 1,000,000
, and
fmtnum -w 1000000
would output one million
$ gem install fmtnum
$ fmtnum 20100102030304
20,100,102,030,304
- word mode (3020 => 'three thousand twenty')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request