A task provided to Michael Cartwright to complete by 13/05/2018. To the name of whom requested the task shall remain unknown.
Allows for a user to input a numbered variable, such as 123.45, and have that number converted into a texted format.
To develop a web page featuring a web server routine which converts numerical input into words and passes these words as a string output parameter.
Output example:
Input: “123.45” Output: “ONE HUNDRED AND TWENTY-THREE DOLLARS AND FORTY-FIVE CENTS”
This project did not state how many variables the author was suppose to work with. The maximum input is 6 characters (999.99). Hundreds, tens, units, and up to 2 decimal places are this project's limitations. This was chosen due to time constraits.
- A HTML web user interface to allow the routine to be tested interactively.
- A document outlining the reasons why you selected your approach and why I decided against other possible solutions.
- A test plan.
- Supporting files for testing, such as a working executable (if applicable), source files, test harnesses, and solution or project files
- Implemented using HTML, JavaScript and Java programming languages.
- Used NetBeans IDE 8.1 and JUnit (implemented into NetBeans IDE 8.1).
- Download and install the latest NetBeans IDE at https://netbeans.org/downloads/. The 'All' version was selected by the author.
- git clone this repository or download a zipped file of the repository.
- Using NetBeans, load the project.
- Build and Run the project.
- To view Javadoc, Run > Generate Javadoc (Numbers to Words Web Page).