pygeek_stellar/utils/user_input.py
def float_input(msg):
    """
    This methods should be used to request a float value from the user. This
    method will not return until the user inputs a valid float value.
    :param str msg: Message to be displayed to the user.
    :return: Returns the float value inserted by the user.
    :rtype: float
    """
    value = safe_input(msg).replace(',', '.')
    while not is_float_str(value):
        print('Input must be a valid float value')
        value = safe_input(msg).replace(',', '.')
    return float(value)

    This methods should be used to request a float value from the user. This
    method will not return until the user inputs a valid float value.
    :param str msg: Message to be displayed to the user.
    :return: Returns the float value inserted by the user.
    :rtype: float
    
This methods should be used to request a float value from the user. This
method will not return until the user inputs a valid float value.
This methods should be used to request a float value from the user . This method will not return until the user inputs a valid float value .
def float_input(msg):
    value = safe_input(msg).replace(',', '.')
    while not is_float_str(value):
        print('Input must be a valid float value')
        value = safe_input(msg).replace(',', '.')
    return float(value)
def float_input ( msg ) : value = safe_input ( msg ) . replace ( ',' , '.' ) while not is_float_str ( value ) : print ( 'Input must be a valid float value' ) value = safe_input ( msg ) . replace ( ',' , '.' ) return float ( value )
This methods should be used to request a float value from the user.
This methods should be used to request a float value from the user .
"""
    This methods should be used to request a float value from the user. This
    method will not return until the user inputs a valid float value.
    :param str msg: Message to be displayed to the user.
    :return: Returns the float value inserted by the user.
    :rtype: float
    """
Returns the float value inserted by the user.
Returns the float value inserted by the user .
float
msg
Message to be displayed to the user.
Message to be displayed to the user .