rounder.py 85 B

123
  1. def myround(x, prec=2, base=.5):
  2. return round(base * round(float(x)/base), prec)