Re: is this the correct way to use round function?
| From: | Henrik Hansen | Date: | Thu, 03 May 2001 17:00:08 +0000 |
| Subject: | Re: is this the correct way to use round function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51296@lists.php.net to get a copy of this message | ||
"Jacky" <jacky@activelifestyle.com> wrote:
> 1. (*) text/plain
>
> Is this the correct way to use round function with 2 decimal?
> $x = round((44.057/2.545),2);
yep
--
Henrik Hansen