Re: Bug in Delphi SimpleRoundTo function?



John Herbster wrote:


Ask any mathematician and you'll get the same answer:
0.5 rounds up.

Hogwash! Furthermore, that statement is not even
clear as to whether "rounds up" means away from
zero or toward plus infinity. --JohnH

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

--
Rudy Velthuis [TeamB] http://rvelthuis.de

"A child of five could understand this. Fetch me a child of five."
-- Groucho Marx
.



Relevant Pages

  • Re: Bug in Delphi SimpleRoundTo function?
    ... Hogwash! ... clear as to whether "rounds up" means away from ... zero or toward plus infinity. ...
    (borland.public.delphi.non-technical)
  • Re: Functions
    ... > Rounds a number (away from zero) to the nearest even integer. ... > Excel and Word Function Lists ...
    (microsoft.public.excel.misc)
  • Re: Help with Course Work
    ... >Rounds a number (away from zero) to the nearest multiple ... >Rounds a number to a specified number of digits to the ...
    (microsoft.public.excel.misc)
  • Re: Help with Course Work
    ... Rounds a number to the nearest multiple of ... Rounds a number (away from zero) to the nearest even integer. ... Rounds a number down towards 0 to a specified number of digits to the ...
    (microsoft.public.excel.misc)
  • Re: Functions
    ... Rounds a number to the nearest multiple of ... Rounds a number (away from zero) to the nearest even integer. ... Excel and Word Function Lists ...
    (microsoft.public.excel.misc)