Skip to content

RuslanKarelin/ruby-numbers-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumbersTranslator

Translating numbers into English

Installation

Add this line to your application's Gemfile:

gem 'numbers_translator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install numbers_translator

Usage

NumbersTranslator::Translator::make 1560

=> "one thousand five hundred and sixty"

OR

NumbersTranslator::Translator::make 1560, 'usa'

=> "one thousand five hundred sixty"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published