refactoring in number_to_rounded_converter

Refactored the long convert method in NumberToRoundedConverter class
Because the last line evaluated in both branches is different.
Have modified this now anyways.