refactoring the convert method
tested the refactoring. works.
Merge branch 'refactor-number-to-rounded-converter'