Re: how to round 2.111 to 3 ?

From: Date: Fri, 25 Apr 2003 13:03:38 +0000
Subject: Re: how to round 2.111 to 3 ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-145255@lists.php.net to get a copy of this message
Timo Boettcher wrote:
function round does help, if you add 0.5 before... Not for e.g 3.0 => round(3.0 +0.5) == 4


« previous php.general (#145255) next »