def decode_line(s,l,func = float):
    """
    split a string and convert each token with <func> 
    and append the result to list <l>
    """
    x = s.split()
    for v in x:
        l.append(func(v))
    return(l)