Implement function round().