Re: how to round 2.111 to 3 ?
| From: | Timo Boettcher | Date: | Fri, 25 Apr 2003 12:42:58 +0000 |
| Subject: | Re: how to round 2.111 to 3 ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145254@lists.php.net to get a copy of this message | ||
Hi Merlin,
Nachricht vom Freitag, 25. April 2003, 14:02:29:
> Hi there,
> I am searcching desperately for the function which always rounds up.
> Means:
> 2.1 = 3
> 2.9 = 3
> function round does not help, since I want to always round up for example
> 2.1 to 3
function round does help, if you add 0.5 before...
> Thank your for any help on that,
> Merlin
Timo