Kris's answer is the more general solution. It accounts for a variable number of positions to the right of the decimal point following calculations. The others are fine if the answer is always going to be a whole number.
Regards, Richard Schuh ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, October 15, 2008 7:52 AM To: IBMVM@LISTSERV.UARK.EDU Subject: REXX Coding Question. Greetings. Is there anyway to perform an arithmetic operation (add/subtract) on a string of numbers that has a leading '0' (zero) and perceive the leading zero? If I have the following: X = 01234 and I add/subtract some number from the above the leading zero is gone. Thanks _____________ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.