note 9028 deleted from Type Juggling by torben

From: Date: Thu, 12 Oct 2000 07:42:21 +0000
Subject: note 9028 deleted from Type Juggling by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-6401@lists.php.net to get a copy of this message
I have a little problem. Example: $a = "12.34"; $b = (double) $a; $c = dobleval($a); echo $b; Result: "12" echo $c; Result: "12" Why ? How can I convert string to double ?

« previous php.notes (#6401) next »