refactoring in number_to_rounded_converter

Refactored the long convert method in NumberToRoundedConverter class
My vote would be for using an `attr_writer`, but either way, agreed this should be consistent. Either use an ivar, or use a method.