home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / rexx / 1412 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.2 KB  |  25 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!psuvax1!psuvm!auvm!UCSFVM.BITNET!GOMBERG
  3. Message-ID: <REXXLIST%92121512050101@UGA.CC.UGA.EDU>
  4. Newsgroups: comp.lang.rexx
  5. Date:         Tue, 15 Dec 1992 09:01:43 PST
  6. Sender:       REXX Programming discussion list <REXXLIST@UGA.BITNET>
  7. From:         Dave Gomberg <GOMBERG@UCSFVM.BITNET>
  8. Subject:      Re: Rounding twice in format()
  9. In-Reply-To:  Message of Tue, 15 Dec 1992 16:44:38 GMT from <mfc@VNET.IBM.COM>
  10. Lines: 13
  11.  
  12. On Tue, 15 Dec 1992 16:44:38 GMT Mike Cowlishaw said:
  13. >Even/odd rounding was discounted for REXX because it implies processing
  14. >an arbitrary number of digits, even if NUMERIC DIGITS is known (see
  15. >footnote 40 on page 130 of "The REXX Language").
  16.  
  17. Mike, I don't get this.  Rounding now does 1-4 down, 5-9 up.  Even-odd
  18. rounding need only depend on that same number of digits: 1-4 down, 6-9 up,
  19. 5 up if the previous (more to the left) digit is odd, down if it is even.
  20.  
  21. Where did I miss the boat?   Dave
  22.  
  23. Dave Gomberg    GOMBERG@UCSFVM  Internet node UCSFVM.UCSF.EDU     fax-> 7797
  24. Seven Gateview Court, San Francisco CA 94116-1941      voice-> (415)731-7793
  25.