Re: check writing
Posted in 1994
sacs250!randy@veritas.com writes: -> ->I have a user who wants to write checks or at least vouchers from ->data that is stored in an Informix database. We need to have the ->ability to convert money amounts into their english words. For example, ->$10.95 converts to Ten and 95/100 Dollars. We have two schools of ->thought. One says to use one or two lookup tables to construct the ->string. The other says to write all of this in code to avoid the ->cost of the database accesses. I would appreciate any thoughts. ->Is this a canned routine somewhere? -> ->Randall Young ->sacs250!randy@veritas.com Randall, This is your lucky day. Walt's archives contain the Informix User Group of Colorado software library which already contains the program you are looking for. It was written by Informix good guy Dennis Pimple down in Denver. Walt's archives are at mathcs.emory.edu and are accessible by ftp. The file you want is: /pub/informix/ugroups/denver_co_usa/fmt_mony.4gl. I hope this helps! P.S. Note to those people waiting for me to unearth newletter articles with the code for using different print fonts... I've been extremely busy, but I will get to it today or tomorrow! Regards, - Cathy -------------------------------------------------------------------------------- Cathy Kipp e-mail: ckipp@vth1.vth.colostate.edu Phone: (303) 491-1294 Colorado State University Veterinary Teaching Hospital Fax: (303) 491-1205 Coming in September, from Prentice Hall, my new book: Programming INFORMIX SQL/4GL: A Step-by-Step Approach (ISBN: 0-13-149394-9)