tryphp_func_var_is_double.php:
"; $b = 0; echo "b is " . is_double($b) . "
"; $c = 32.5; echo "c is " . is_double($c) . "
"; $d = "32"; echo "d is " . is_double($d) . "
"; $e = true; echo "e is " . is_double($e) . "
"; $f = "null"; echo "f is " . is_double($f) . "
"; $g = 1.e3; echo "g is " . is_double($g) . "
"; ?>
a is
b is
c is 1
d is
e is
f is
g is 1