1. Home
  2. Computing & Technology
  3. JavaScript

Advanced JavaScript

JavaScript has changed a lot since the early days. Gone are the days when event handlers needed to be in the HTML and document.write was the way to output into your page from JavaScript. Do you write your JavaScript the modern way?

More Advanced JavaScript

Stephen's JavaScript Blog

Numbers to Words

Saturday July 19, 2008
Convert numbers to Words with JavaScript.

JavaScript does an excellent job of being able to manipulate numbers and even provides some quite advanced mathematical functions. What happens though when you want to print out the result of that manipulation in words rather than numbers? You use a simple function that will do the conversion for you.

Numbers to Words

Convert to Roman Numerals

Friday July 18, 2008
JavaScript can display the answer in roman numerals

Sometimes displaying a number on your web page as a normal number just doesn't look right. Sometimes it may be more appropriate to display the number on your web page using Roman Numerals instead. This simple Javascript function can handle the conversion of any number between 1 and 3999 into the roman numeral equivalent for you.

Convert to Roman Numerals

Explore JavaScript

More from About.com

  1. Home
  2. Computing & Technology
  3. JavaScript

©2008 About.com, a part of The New York Times Company.

All rights reserved.