def get_number(input_string: str) -> tuple:
    """
    Return a float out of the input string.

    Parameters
    ----------
    input_string : str
        String with the number.

    Returns
    -------
    tuple
        The number and the length of the number in the string.
    """
    number_sting = ""
    if input_string[0] == "-":
        number_sting += "-"
        input_string = input_string[1:]
    for character in input_string:
        if not character.isdigit():
            if character == ".":
                number_sting += "."
            else:
                break
        else:
            number_sting += character
    return (float(number_sting), len(number_sting))