decimal mark should not count againt input digits