Wintr

Gem Version

A number to word converter.

Integers up to a maximum of 999 duotrigintillion (American) can be handled! See Russ Rowlett's discussion on Names for Large Numbers

Install

gem install wintr

Usage

Wintr::Number.new(0).to_s
  # => "zero"

Wintr::Number.new(9*9).to_s
  # => "eighty one"

Wintr::Number.new(951_213_724).to_s
  # => "nine hundred and fifty one million two hundred and thirteen thousand seven hundred and twenty four"

Licence

Released under the MIT License. See the LICENCE.md file for further details.