PHP function doubleval()
(PHP 4.2.0, PHP 5)
doubleval � Alias of floatval()
Get float value of a variable
&Alias;
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$var |
mixed |
not |
Return values
float
value of the given variable. Empty arrays return 0, non-empty arrays return 1.