Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed.
Merge pull request #5444 from jdfreder/numparse

Fix numeric verification for Int and Float text widgets.