Digits parsing method implemented