Re: round up to float 0.00
| From: | Andrei Zmievski | Date: | Tue, 27 Jun 2000 14:00:18 +0000 |
| Subject: | Re: round up to float 0.00 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3337@lists.php.net to get a copy of this message | ||
On Tue, 27 Jun 2000, Ben-Nes Michael wrote:
> Hi
>
> how do i round float to two numbers after the dot ?
> 4.234 = 4.23
> 5.689 = 5.69
round(4.234, 2);
-Andrei
"Computers are useless. They can only give you answers."
--Pablo Picasso