def is_numeric(string):
    """
    Determine whether the string is a number.

    :param string: String to test.
    :return: True if the string is a number. False otherwise.
    """
    try:
        float(string)
        return True
    except ValueError:
        return False
    pass