added rounding to decithou auxiliary function