def roundlist (inlist,digits):
    if type(inlist[0]) in [IntType, FloatType]:
        inlist = [inlist]
    l = inlist*1
    for i in range(len(l)):
        for j in range(len(l[i])):
            if type(l[i][j])==FloatType:
                l[i][j] = round(l[i][j],digits)
    return l
Return true if `prev` and `exchange` is equivalent.
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/pstat.py/roundlist--crossover with--dataset/ETHPy150Open celery/kombu/kombu/transport/virtual/exchange.py/ExchangeType.equivalent