def trimlist(*args):
    """ Takes in number list or float and removes leading zeros """
    store = []
    values = []
    for mylist in args:
        each = []
        for x in mylist:
            if type(x) == float:
                each.append(float('%.4f' % x))
            elif type(x) == list:
                inner = []
                for y in x:
                    if type(y) == float:
                        inner.append(float('%.4f' % y))
                    else:
                        inner.append(y)
                each.append(inner)
            else:
                each.append(x)
        values.append(each)
    store.append(values)
    return store[0]
