|
This introduces the possibility of adding trailing zeros to a number which is probably not a good idea. Martin -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Dave Boettcher Sent: 10 August 2004 15:17 To: rpg400-l@xxxxxxxxxxxx Subject: RE: %Int How about %replace('0' : stringnumber : ' ') just another idea. Dave B >>> cozzi@xxxxxxxxx 08/10/2004 9:00:52 AM >>> That may fail too, you might try this: PackedX = %int('0' + %TrimL(StringA)) Because, I believe ' 0123' is value, but '0 123' is not. Can't check it however at the moment. Our name has changed. Please update your address book to the following format: "recipient@xxxxxxxxxxxxx". This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.