floatval

 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.