def round_int(n, d):
    return round(n / float(d)) * d
Cast function which serializes special magic string value which indicate "None" to None type.
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/primitives.py/round_int--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/casts.py/_cast_none