def parse_number(string):
    """
    Retrieve a number from the string.
    
    Parameters
    ----------
    string : str
        the string to parse
    
    Returns
    -------
    number : float
        the number contained in the string
    """
    num_str = string.split(None, 1)[0]
    number = float(num_str)
    return number