home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 8003 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  796 b 

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: TP 6.0 Strange rounding problem (Debugger is *lying* to me!)
  5. Message-ID: <86406@ut-emx.uucp>
  6. Date: 10 Jan 93 04:10:05 GMT
  7. References: <86277@ut-emx.uucp> <Sorokin.50.726427702@ps1.iaee.tuwien.ac.at>
  8. Sender: news@ut-emx.uucp
  9. Organization: The University of Texas at Austin, Austin TX
  10. Lines: 7
  11.  
  12.  
  13.     Quoting from page 120 of "Turbo Pascal Library Reference" for Round(X: real)
  14. , " If X is exactly halfway between two whole numbers, the result is the number with the greatest absolute magnitude." I don't believe that it's the "money method" 
  15. problem. Do you have any other ideas?
  16. Thanks,
  17.  
  18. Michael
  19.