decimal mark should not count againt input digits
Merge pull request #47 from nickdesaulniers/master