Kurt Foster on Mon, 15 Jun 2009 17:55:18 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

A12-140 Question about round()

It occurred to me to wonder what round() did when the input has fractional part == 1/2. Some examples indicated that if N is an integer,

round(N + 1/2) == ceil(N + 1/2).

Is this generally the case?

Thanks, KF