Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!nike!ucbcad!ucbvax!BINGVAXA.BITNET!TBLAKE From: TBLAKE@BINGVAXA.BITNET (THOMAS R. BLAKE) Newsgroups: mod.computers.vax Subject: SMG Question Message-ID: <8610301353.AA02985@ucbvax.berkeley.edu> Date: Thu, 30-Oct-86 08:54:18 EST Article-I.D.: ucbvax.8610301353.AA02985 Posted: Thu Oct 30 08:54:18 1986 Date-Received: Thu, 30-Oct-86 23:44:43 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 23 Approved: info-vax@sri-kl.arpa Gerald, Not sure I got your exact meaning, but how about this one? (%1 / 10 + 48) (0 - %1 / 10 * 10 + %1 + 48) For Example, 26 (26 / 10 + 48) = (2 + 48) = '2' (0 - 26 / 10 * 10 + 26 + 48) = (-26 / 10 * 10 + 26 + 48) = (-2 * 10 + 26 + 48) = (-20 + 26 + 48) = (6 + 48) = 54 = '6' Thomas R. Blake SUNY Computer Center Binghamton, NY 13902