|
> The result of your calculation is -226.565 while a 5,3 > field only has 2 places to the left of the decimal > point. This is normal behaviour for EVAL. The idea being that RPG III would silently truncate numbers for you but EVAL won't. There are some H spec keywords which might ameliorate some of your headaches. RUN, don't walk to the section of the RPG manual that describes numeric precision. --buck
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.