quantizer (hackage): Has three modules with similar functionality. The functions provide the somewhat generalized way to round the numbers based on some data.
Keywords: library|math|mit