Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!eds1!jdm1 From: jdm1@eds1.UUCP (Jon McCown) Newsgroups: comp.lang.c Subject: Packed Decimal Conversion fns sought, TFM is silent Keywords: PACKED DECIMAL IBM Message-ID: <223@eds1.UUCP> Date: 20 Jun 89 22:12:21 GMT Distribution: na Organization: EDS - Senate of Pennsylvania Lines: 19 I am looking for routines to munge IBM/370 style packed decimal data into a long (or int) and vice versa. ptol or ltop anyone? Range checking is not a major concern (yet). My work on the problem has produced some medium kludgy and slow routines that have yet to be proven reliable. Surely someone has an elegant (or at least well tested) shot at this. . . . ? - Jon McCown (No, I don't have a COBOL compiler on the system :-) -- J.D. McCown - RCSG Director - Senate of Pennsylvania psuvax1!eds1!jdm1 (this space intentionally "Your life or your lupins!" jdm1@eds1.eds.com filled with this text) - Dennis Moore