ң

floatval

(PHP 4 >= 4.2.0)

floatval - - (float).

float floatval (mixed var)

float - var .

Var . floatval() .

$var = '122.34343The'; $float_value_of_var = floatval ($var); print $float_value_of_var; // 122.34343

. intval() , strval() , settype() .


ң
empty get_defined_vars