def METHOD_NAME(input_str):
    try:
        return float(input_str)
    except ValueError:
        global current_line
        print("Error, line: " + current_line)
        exit(1)
    return str(flt)