Skip to content

tylerdooling/number_names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Names


Description

A simple gem that converts numbers in ruby to their respective human readable names.

Example

require 'number_names'

1.to_name => "one"
301.to_name => "three hundred and one"
3301.to_name => "three thousand three hundred and one"

Todo

  • Add language support
  • Include floating points

Copyright (C) 2012 Tyler Dooling

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses.

About

Text representations of numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages