/Number_to_words

Epicodus student program using Ruby to convert numeric numbers to written numberts

Primary LanguageRuby

Numbers to Words

A Ruby method that translates numbers in numeric form into written words. Version as of 6/28/2016

By Maldon Meehan and Matt Wilkin

Description

A simple backend program that translates numbers in numeric form into written words. For example, it would translate 384 into "three hundred eighty four"

Specifications

Behavior (Our program should handle) Input Example (when it receives) Output Example (it should return)
Translates numbers in numeric form into written words "1" "one"
Translates numbers in numeric form into written words "10" "ten"
Translates numbers in numeric form into written words "19" "nineteen"
Translates numbers in numeric form into written words "20" "twenty"
Translates numbers in numeric form into written words "22" "twenty two"
Translates numbers in numeric form into written words "30" "thirty"
Translates numbers in numeric form into written words "40" "forty"
Translates numbers in numeric form into written words "50" "fifty"
Translates numbers in numeric form into written words "60" "sixty"
Translates numbers in numeric form into written words "70" "seventy"
Translates numbers in numeric form into written words "80" "eighty"
Translates numbers in numeric form into written words "90" "ninety"
Translates numbers in numeric form into written words "100" "hundred"
Translates numbers in numeric form into written words "1000" "thousand"
Translates numbers in numeric form into written words "100000" "million"
Translates numbers in numeric form into written words "1000,000,000" "trillion"

Setup/Installation Requirements

  • This is a great place
  • to list setup instructions
  • in a simple
  • easy-to-understand
  • format

{Leave nothing to chance! You want it to be easy for potential users, employers and collaborators to run your app. Do I need to run a server? How should I set up my databases? Is there other code this app depends on?}

Known Bugs

{Are there issues that have not yet been resolved that you want to let users know you know? Outline any issues that would impact use of your application. Share any workarounds that are in place. }

Support and contact details

{Let people know what to do if they run into any issues or have questions, ideas or concerns. Encourage them to contact you or make a contribution to the code.}

Technologies Used

{Tell me about the languages and tools you used to create this app. Assume that I know you probably used HTML and CSS. If you did something really cool using only HTML, point that out.}

License

{Determine the license under which this application can be used. See below for more details on licensing.}

Copyright (c) 2016 {List of contributors or company name}