I just published a page on the writenum program I wrote for a job application.
The page contains a link to download the program and the source, so you can check it out and play with the code and such.
The job application included a task with the brief to write a program that took a number and printed out the textual representation of that number, eg. 1234 = One thousand, two hundred and thiry-four.
This was my implementation. I hope it’s handy to someone.