note 6232 deleted from function.intval by sniper

From: Date: Sat, 23 Aug 2003 00:29:02 +0000
Subject: note 6232 deleted from function.intval by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54929@lists.php.net to get a copy of this message
Note Submitter: jjuffermans@chello.com ---- Above samples don't round of... This will: <PRE>$a = intval(($a * 100) + 0.5) / 100;</PRE>

« previous php.notes (#54929) next »