note 30016 deleted from language.types.float by betz

From: Date: Sun, 03 Jul 2005 08:27:11 +0000
Subject: note 30016 deleted from language.types.float by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91342@lists.php.net to get a copy of this message
Note Submitter: ---- Having had problems with floatval() and doubleval() (on some servers the former doesn't work, on some the latter doesn't), I finally decided to convert variables to floats with this: $string = '-12.5'; $float = $string + 0.0;

« previous php.notes (#91342) next »