Refactor digit conversion method