|
Srikanth, I am not too sure, still this can be accomplished (if at all you are using RPG Program) by moving the field value in to a char field and using checkr opcode find the position of zero and using substring (%subst:str:len)you can achieve. Regards, Sriram S -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dwarakanath,Srikanth \(Cognizant\) Sent: Monday, July 25, 2005 6:19 PM To: Jim Franz; rpg400-l@xxxxxxxxxxxx Subject: RE: Help on %EDITC Thanks Jim, Resending my request..... I have a requirement not to print trailing zeros in decimal fields. I had a look at all the %EDIT options in RPG's built in function, could not figure it out by my self. For e.g. 123.5600000 should be printed as 123.56. Can I get some help please. Many thanks for help. Best rgds., Srikanth D ________________________________ From: Jim Franz [mailto:jfranz@xxxxxxxxxxxx] Sent: Fri 22/07/2005 17:42 To: Dwarakanath, Srikanth (Cognizant) Subject: Re: Help on %EDITC If you sent something in this email - it did not come thru to the list. Do not send attachments - they are not allowed in rpg400-l jim ----- Original Message ----- From: "Dwarakanath, Srikanth (Cognizant)" <Srikanth.Dwarakanath@xxxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Friday, July 22, 2005 9:07 AM Subject: Help on %EDITC > This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. > If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. > Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly > prohibited and may be unlawful. > > Visit us at http://www.cognizant.com ---------------------------------------------------------------------------- ---- > -- > 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 e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
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.