|
Hi Rob, we use built-in-functions like %Dec() or %Int() to achieve truncation. For rounding wie use %DecH() or %IntH(). Birgitta -----Ursprungliche Nachricht----- Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]Im Auftrag von rob@xxxxxxxxx Gesendet: Donnerstag, 8. Dezember 2005 21:14 An: RPG programming on the AS400 / iSeries Betreff: Re: Round/Truncate in RPG &RPGLE how does one "do truncation"? Are you MOVEing the field from the one field to the other? Are you using z-add? Are you using eval? Rob Berendt
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.