note 30146 added to function.floatval
| From: | jason at shadonet dot com | Date: | Sat, 08 Mar 2003 01:07:41 +0000 |
| Subject: | note 30146 added to function.floatval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44991@lists.php.net to get a copy of this message | ||
Instead of using floatval which only appeared in PHP 4.2 you could juse use $variable =
(float)$variable
This function doesn't seem to add any functionality that wasn't already there.
--
http://www.php.net/manual/en/function.floatval.php
http://master.php.net/manage/user-notes.php?action=edit+30146
http://master.php.net/manage/user-notes.php?action=delete+30146
http://master.php.net/manage/user-notes.php?action=reject+30146