RE: round and computer science
Dennis Nichols <[EMAIL PROTECTED]> writes: > At 4/13/01 03:42 AM, Peter Holm wrote: > >mysql> select floor(23.49 + 0.5); => 23 > >mysql> select floor(23.499 + 0.5); => 24 > >Why are there different results? > > Apparently the closest (most accurate) expression of the
Re: round and computer science
At 4/13/01 03:42 AM, Peter Holm wrote: >mysql> select floor(23.49 + 0.5); >++ >| floor(23.49 + 0.5) | >++ >| 23 | >++ > >mysql> select floor(23.49