o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Rounding - Does it or doesn't it -

I've seen a few comments on this forum that suggest the round function only rounds to the nearest even number.

Is this really the case? I've tried a few experiments and, for me at least, this doesn't appear to be true. ie:

round(10.6) produces 11 (not even!)
print round (11.123452, 5) produces 11.12345 (not even)

I've checked the documentation and it doesn't mention anything about only rounding to even numbers.

Am I missing the point?

 


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/genitalh/okquestions.com/relquery.php on line 79