Project

wintr

0.0
No commit activity in last 3 years
No release in over 3 years
Convert integers into their word equivalents
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.2
 Project Readme

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.