def METHOD_NAME(answer):
    """
    Validate that the answer can be converted to a float.
    :return The float answer; otherwise, None.
    """
    try:
        float_answer = float(answer)
    except ValueError:
        float_answer = None
    return float_answer, f"{answer} must be a valid float."