Skip to content

Takes an integer between 0 and 999,999,999 and converts it to the word/place representation of the number in English.

Notifications You must be signed in to change notification settings

scottdchris/NumToWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Synopsis

Shows how to spell out a number in English. Can also dlace the 'place' of the number (e.g. first, second). Support inputs up to at 999,999,999.

Code Example

Template: Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation

This problem/solution was inspired by karan's Projects (https://github.com/karan/Projects) repo.

Installation

Template: Provide code examples and explanations of how to get the project.

API Reference

N/A

Tests

Template: Describe and show how to run the tests with code examples.

Contributors

Feel free to expand the functionality! If you understand how the recursion works, it would take little effort to expan this to the billions, trillions and beyond.

License

Copyright (c) [2014] [ScottDChris]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Takes an integer between 0 and 999,999,999 and converts it to the word/place representation of the number in English.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages