A = 18,0 (zoned)
C = 11,6 (packed)
B 12,6 (packed) (this was just for testing and how I got it to work... in production I would make this an integer) - b/c as you can see in the one line B is really evaluated within the expression

I've never used a f data type in RPG code.

Thanks,
Kurt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Sent: Monday, July 02, 2012 3:52 PM
To: RPG programming on the IBM i / System i
Subject: Re: Unexpected division quotient

Kurt,

Just curious, How are C and A defined?

Regards,

Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.