Re: round up to float 0.00
| From: | Masood Nasir | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: round up to float 0.00 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3339@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
check format_number() function.
-- Regards,
-- Masood Nasir :-) [Systems Engineer] - http://www.masood.net
;)
-- One Net, Lahore, Pakistan. <http://www.one.net.pk>