If of use to anyone, I had to write a function that returns a number in
words for a bank mandate form (I did find one in HC but it was broken).

eg:       numToPounds(19,500.45)
returns:  Nineteen thousand five hundred Pounds 85 pence

It handles numbers from 0.00 to 999,999,999,999,999,999,999,999,999,999,999.99

Let me know off-list if you'd like it (59 lines), or swap me for your own!

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to