parsing: don't accept . as a valid amount