Probably the ROUND function in PL/I was meant by rounding, and it does produce surprising but well documented results, see for example https://www.ibm.com/docs/en/epfz/5.3.0?topic=subroutines-round Bottom line, if you want the "right" answer use DFP.
On Fri, May 2, 2025 at 9:25 PM Robin Vowels < 0000054c2a8bb600-dmarc-requ...@listserv.ua.edu> wrote: > On 2025-05-02 16:03, Peter Sylvester wrote: > > UOAT there was a SHARE document about traps and pitfalls in > > PLI's handling of decimal fixed number such as surprising rouding > > effects > > with different precision etc. > > PL/I does not round. > > > Does some has kept copy, by chance? > > > > Peter Sylvester > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN