refactoring in number_to_rounded_converter

Refactored the long convert method in NumberToRoundedConverter class
Do you think this would read better using `is_a?`?