NAME tofloat - convert argument to a floating point constant SYNOPSIS float tofloat(value) DESCRIPTION The argument `value' is converted to a floating point constant (if possible), and the constant is returned. Numbers are converted into their floating point equivalents. Strings are scanned for a float value, and that value is returned. If the string does not appear to contain a floating point constant, 0.0 is returned. Objects and errors are converted to floats in a manner similar to tonum(). Lists and tables generate an E_TYPE error. SEE ALSO tonum