note 4525 deleted from function.intval by sniper
| From: | sniper@php.net | Date: | Sat, 23 Aug 2003 00:29:02 +0000 |
| Subject: | note 4525 deleted from function.intval by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54928@lists.php.net to get a copy of this message | ||
Note Submitter: km@wol.dk
----
Want to return a variable including decimals?
$a = "222,22324"
$a = $a * 100; # = 22222,324
$a = intval($a * 100) / 100 ; # = 222,22