refactoring in number_to_rounded_converter

Refactored the long convert method in NumberToRoundedConverter class