doubleval

doubleval -- Get double value of a variable.

Description

double doubleval(mixed var);

Returns the double (floating point) value of var.

var may be any scalar type. You cannot use doubleval() on arrays or objects.

See also intval(), strval(), settype() and Type juggling.