Lines Matching refs:floatval
2 Testing floatval() and its alias doubleval() Functions
5 /* Prototype: float floatval( mixed $var );
9 echo "*** Testing floatval() with valid float values ***\n";
35 /* loop to check that floatval() recognizes different
39 var_dump( floatval($value) );
52 echo "\n*** Testing floatval() on non floating types ***\n";
80 floatval() on non float types, expected output: float value valid floating point numbers */
82 var_dump( floatval($type) );
99 var_dump( floatval() );
103 var_dump( floatval(TRUE, FALSE) );
111 *** Testing floatval() with valid float values ***
157 *** Testing floatval() on non floating types ***
195 Warning: floatval() expects exactly 1 parameter, 0 given in %s on line %d
201 Warning: floatval() expects exactly 1 parameter, 2 given in %s on line %d