In my Internet and Web Technology class, I have to write the following program: "Write a JavaScript that inputs a numeric check amount and writes the words equivalent of the amount. For example, the amount 112.43 should be written as ONE HUNDRED TWELVE and 43/100" I have absolutely no idea how to do this. My teacher mentioned using an array, but I can't see how an array would work for this. Any help here would be greatly appreciated.
Number Pronunciator Enter a number and this script will write it out in plain English. Your number can be up to 303 digits long. From: http://www.javascriptbank.com
The source code is filled with Google AdSense ads and whatnot. Shame on you. @Scotty: This is a better script: http://javascript.about.com/library/bltoword.htm Although if I had time I could write something even better.