float floatval ( mixed $var )
Gets the float value of var.
The float value of the given variable. Empty arrays return 0, non-empty arrays return 1.