note 4525 modified in intval by ronabop

From: Date: Sat, 12 Aug 2000 21:17:24 +0000
Subject: note 4525 modified in intval by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1560@lists.php.net to get a copy of this message
Want to return a variable including decimals? $a = "222,22324" $a = $a * 100; # = 22222,324 $a = intval($a * 100) / 100 ; # = 222,22 http://www.php.net/manual/function.intval.php

« previous php.notes (#1560) next »