Fixed roundUp and roundDown.