def fListToString(a_list, a_precision=3):
    """ returns a string representing a list of floats with a given precision """
    # CHECKME: please tell me if you know a more comfortable way.. (print format specifier?)
    l_out = "["
    for i in a_list:
        l_out += " %% .%df" % a_precision % i
    l_out += "]"
    return l_out