def convert_to_float(value):
try:<EOL><INDENT>ret_val = float(value)<EOL>return ret_val, True<EOL><DEDENT>except ValueError:<EOL><INDENT>return <NUM_LIT:0.0>, False<EOL><DEDENT>
Convert a string to FLOAT