RE: [PHP] Math rounding problem
| From: | Charlie Killian | Date: | Sat, 09 Feb 2002 00:46:39 +0000 |
| Subject: | RE: [PHP] Math rounding problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84072@lists.php.net to get a copy of this message | ||
This equation from Bogdan is simple and working:
$scale=ceil($scale/100)*100;
Thanks to all those who helped,
Charlie
> -----Original Message-----
> From: Bogdan Stancescu [mailto:mgv@fx.ro]
>
> $scale=ceil($scale/100)*100, maybe?
>
> Bogdan