refactoring in number_to_rounded_converter

Refactored the long convert method in NumberToRoundedConverter class
I believe these attributes are being used only internally so I'd use the instance variables instead.