|
Char9 = %edtic(Num9:'X'); HTH, but of course I'll bet I'll read the same answer later on in my emails lol. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 Tel: 709-576-8132 Email: rpower@xxxxxxxxxx Website: http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill "Barr, Regan" <BarrR@xxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 05/08/2004 06:40 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG400-L" <rpg400-l@xxxxxxxxxxxx> cc Subject Keep leading zeros when converting 9,0 to 9A Is there an easy way to convert a numeric value to character, but keep the leading zeros? I was using %char, but now I see that it trims leading zeros. Regan L. Barr Systems Analyst Cintas Corporation MIS - Accounting & Finance (513) 573-3938 BarrR@xxxxxxxxxx -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. This OutBound email has been scanned for Viruses
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.