double doubleval
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.