Martin Geisler wrote:
My PHP manual (from a Debian package) has the following note on the
page for round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05 in your case) add or substract a tiny
* Thus wrote Martin Geisler ([EMAIL PROTECTED]):
My PHP manual (from a Debian package) has the following note on the
page for round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05
Martin Geisler wrote:
My PHP manual (from a Debian package) has the following note on the page for
round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05 in your case) add or
3 matches
Mail list logo