Return to the ProgTips Tips
Converting Numbers to Words
Do you need to programmatically convert a number to words such as those you'd see on a check? Here are several solutions to choose from: a. Gary Guthrie's NbrToWords RPG ILE Service Program http://systeminetwork.com/node/60558 b. Jeff Crosby's SUBNtoA RPG ILE Service Program http://groups.google.com/groups?q=SubNToA&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3C7FF5B0.BE24069A%40dilgardfoods.com&rnum=1 c. iSeries NEWS RPG program CHECKWORDS (This appeared a long time ago in the book "AS/400 Power Tools, Vol. 1.") http://www.iseriesnetwork.com/noderesources/code/clubtechcode/CheckWords.zip There are at least two commercial products that include a callable program that converts numbers to words: d. Jim Sloan's TAA Productivity Tools (the follow-on product to QUSRTOOL) http://www.taatool.com/document/L_bldchkamt.htm . e. Golden State Software Systems' Function Junction http://www.gsssi.com/
[report a broken link by clicking here]