Today I am sharing number to text convert script that simply input number and produce its wordy counterparts. It is the most simple script and easy to implement in the project.
Example : Suppose you want to make ‘ 12345 ‘ read like ‘ twelve thousand
three hundred forty five ‘ , Enter your number in text box (see demo) and Javascript will write it out in words for you as you type. Only numeric characters are considered in the calculation. All other characters, and that includes the dot and the comma, are ignored.
Functionality – You just need to call update function of javascript on the blur event of text box and onsubmit of form.
Return text will be display under a div having id ‘word’.
You can see demo and download source code.

August 6th, 2010 at 12:08 pm
Nice script, its useful. Good work
August 6th, 2010 at 1:51 pm
Thanks ZeeShan
November 9th, 2010 at 4:11 am
Wow! Great script, Amit! Works like a charm!
November 9th, 2010 at 5:30 am
Thanks Gloson.. Keep Visiting
June 1st, 2011 at 9:48 am
mm..
cents is not functioning …
Eg: 114500.50
…?
June 1st, 2011 at 7:57 pm
@sanjaya I have modified script to display cents after numbers. (Download it from below original script download button in above post)
December 22nd, 2011 at 12:39 am
Thanks! Had to modify it a bit but the majority of the work was all done!