Re: Bug in Delphi SimpleRoundTo function?



Bob Dawson wrote:

"Rudy Velthuis [TeamB]" wrote

For most people it is pretty clear: for positive numbers, rounding
up means towards plus infinity AND away from zero.

John was pointing out that for negative numbers there's no such
universal agreement about which way is 'up'. Surely a round function
should work with negatives.

I am aware of that. <g>
--
Rudy Velthuis [TeamB] http://rvelthuis.de

"If it wasn't for muscle spasms, I wouldn't get any exercise at
all."
.



Relevant Pages

  • Re: Jesus...fact or fiction?
    ... Marcus Annaeus Lucanus ... ZERO recorded accounts from period historians ... John E. Remsburg ... Georges Las Vergnas ...
    (alt.religion.christian.roman-catholic)
  • Re: zero based arrays?
    ... John D'Errico wrote: ... There is a very real and very 'physical' reason for zero based ... of this, but c came before Matlab, and in fact, Matlab is written in ... them, or else programming would never work, ever, at all. ...
    (comp.soft-sys.matlab)
  • Re: pr and plagiarism
    ... are still sitting at zero so I went to copyscape and put in one of my ... Hi, my name is John ... I have given up on spam reports once I discovered ... matter of fact I now have a web site whereas all the web pages except ...
    (alt.internet.search-engines)
  • Re: pr and plagiarism
    ... are still sitting at zero so I went to copyscape and put in one of my ... Hi, my name is John ... I have given up on spam reports once I discovered ... have another look at the code, check my internal navigation system, the ...
    (alt.internet.search-engines)
  • Re: Boasting
    ... When you defend yourself from his trolls by pointing out with a wink ... and a grin that you could divide his IQ into yours and obtain an ... Zero is an integer, fuckwit. ... Most normal people are boring to begin with but after you peel away ...
    (misc.writing)