updated rounding functions part 4