Revert "Revised roundTo"

This reverts commit caa64a7de7e6e966aa0e0de66d7a328967dcb4d9.