|
That N threw me. For my reference I have a piece of paper which came from an old O spec form taped to my mod. I had to look up N. It means similar to J, but with a floating minus sign instead. What is happening is that the floating minus sign determines that the last zero is insignificant and gets rid of it. I would suggest using J instead. Rob Berendt ================== Remember the Cole! "Saunders, Martin P" <Martin.Saunders@capgem To: "'RPG400-L@midrange.com'" <RPG400-L@midrange.com> ini.co.uk> cc: Sent by: Subject: %EDITC problem owner-rpg400-l@midrange .com 10/24/00 07:25 AM Please respond to RPG400-L Can anyone tell me why I'm missing a decimal place from my report? prtotalcst is 18 char and prints as (for example) ?1,234.1 (1 decimal) totalcost is 13,2 c eval prtotalcst = %editc(totalcost:'N':*cursym) TIA Martin +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.