note 46181 added to function.is-float
| From: | dNeOlpSiPaAnMo at at at ingdotpucdotcl | Date: | Fri, 01 Oct 2004 14:35:49 +0000 |
| Subject: | note 46181 added to function.is-float | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77685@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.is-float.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46181
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46181&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46181&report=yes
Search -- http://master.php.net/manage/user-notes.php