Type a number like '40000' into the box below to have it converted into a sequence of words, like 'forty thousand'.
You can get the source code to the number converter
here.
It's copyright, but you can use it freely and modify it however you want.
To convert a number, call the
convertNumber function, passing the number you want to convert to the function.
The function will return the converted number as a string.