note 46181 deleted from function.is-float by tomsommer
| From: | tomsommer@php.net | Date: | Fri, 01 Oct 2004 20:45:54 +0000 |
| Subject: | note 46181 deleted from function.is-float by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77706@lists.php.net to get a copy of this message | ||
Note Submitter: dNeOlpSiPaAnMo @at@ ing dot puc dot cl
----
When you know that the content of a variable is float, and is_float returns false, just do $var =
1.0*$var to convert it.