I was just trying to let folks know that we have a confirmed bug with the PRESISION command. We are on UniData 7.2, HPUX.
John Israel John Israel Senior ERP Developer Dayton Superior Corporation 1125 Byers Rd Miamisburg, OH 45342 937-866-0711 x44380 (O) 937-865-9182 (F) This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Egerton Sent: Monday, October 10, 2011 8:31 AM To: U2 Users List Subject: Re: [U2] The math just doesn't work. On 10/10/2011 8:12 AM, Israel, John R. wrote: > I am coming late to this party, but wanted to throw out a bug that was just > reported to Rocket. We found that PERCISION was causing a calculation to > round in some cases and truncate in others. I am not sure where this stands > because someone else on my team is driving this ticket, but it was pretty > disturbing that the same calculation worked differently. > > John Israel John, Here's the essence of an open ticket we've got with Rocket for Universe 10.3.7 on a windows server: >CT ADE.BP TT TT 0001 FOR II = 1 TO 18 0002 CRT FMT(II, "2R"): " ": FMT(10^II + 1, "35R,") 0003 NEXT II 0004 STOP >RUN ADE.BP TT 1 11 2 101 3 1,001 4 10,001 5 100,001 6 1,000,001 7 10,000,001 8 100,000,001 9 1,000,000,001 10 10,000,000,001 11 100,000,000,001 12 1,000,000,000,001 13 10,000,000,000,001 14 100,000,000,000,001 15 1,000,000,000,000,000 16 10,000,000,000,000,000 17 100,000,000,000,000,000 18 1,000,000,000,000,000,000 See anything wrong with the least significant column? -- allen egerton; aeger...@pobox.com _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users