Get the number shar file from here for lots of ways to spell numbers:Daniel Shawul wrote:why would one need different algorithms for this? Strings are placed in a resource file (like is done for windows APIs) and one could modify the strings to the required language. I would say different algorithm may be required for speaking 1500 either as 'one thousand five hundred' or just 'fifteen hundred'.And even this won't always work. You have to use completely different
algorithms for every language and every output string.
Daniel
http://homepages.cwi.nl/~dik/english/ftp.html