roundTo function

Round to nearest target value