#23498 [Com]: ceil() needs more options

From: Date: Tue, 06 May 2003 16:44:16 +0000
Subject: #23498 [Com]: ceil() needs more options
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39161@lists.php.net to get a copy of this message
ID: 23498 Comment by: michael dot mauch at gmx dot de Reported By: junk at factory8 dot com Status: Open Bug Type: Feature/Change Request Operating System: * PHP Version: 4.3.2RC2 New Comment: $x = 24.203; echo ceil($x*100)/100,"\n"; Would it be good enough if the manual would hint into that direction? Previous Comments: ------------------------------------------------------------------------ [2003-05-05 18:45:28] junk at factory8 dot com ceil() should have a percision option. This would greatly help in rounding for tax. Example it is not easy to round $24.203 to $24.21 Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23498&edit=1

« previous php.bugs (#39161) next »