|
Check this code out: http://www.midrangecomputing.com/ftp/prog/94/B940513 HTH, ----------------------------------------------- Jon A. Erickson - Viking Industries jonerickson@vikingindustries.com ----------------------------------------------- -----Original Message----- From: Kahn, David (kahn) [SMTP:KAHN@tengizchevroil.com] Sent: Saturday, November 22, 1997 10:33 PM To: 'MIDRANGE-L@midrange.com' Subject: RE: Converting numbers to words A few years ago, there was a programmer's challenge in the UK edition of Computer Shopper to do exactly this in any computer language. Although I didn't win, I got a mention in the magazine for being the only entrant to send in an RPG/III solution, and for having once converted somebody else's (badly written but working) RPG/II routine to output Norwegian instead of English. For some reason the challenge organiser didn't seem to think I had a real job. :-) Sorry, I don't have the code any more, otherwise I would have shared it. Dave Kahn, TCO, Kazakstan ========= kahn@tengizchevroil.com (to November 25) dkahn@cix.compulink.co.uk (from November 26) >-----Original Message----- >From: Al Barsa, Jr. [SMTP:barsa2@ibm.net] >Sent: Sunday, 23 November, 1997 03:48 >To: MIDRANGE-L@midrange.com >Subject: Re: Converting numbers to words > >At 10:15 AM 11/18/97 -0500, you wrote: >>Does anyone have a tried and tested RPG program for converting a number >>to it's equivalent in words - for printing on checks ($1,234.56 = One >>thousand two hundred thirty-four and 56 cents). >> >There's one in AS/400 Power Tools that works perfectly. I wrote it, and >I've used it at many accounts for many years. > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.