narasiman rao

narasiman rao

  • 1.6k
  • 519
  • 669.2k

convert numbers to words using java script

Sep 6 2012 6:43 AM
How to convert numbers into words javascript

<head runat="server">
  <title>Untitled Page</title>
  <script type="text/javascript" src="toword.js">
  <form name="test" action="Default.aspx">
  <input type="text" name="inum" value="" size="18"/><br />
  <input type="button" value="To Words" onclick="test.rnum.value = toWords(test.inum.value);"/><br />
  <textarea name="rnum" cols="40" rows="5"></textarea>

The above code  i applies for converting numbers in to words.

but when i run the application  when  i type the number it is not converting into words why?
wat is the problem in the above code.please help me.

Answers (1)