Do value rounding in proper way