Fixed bug 10837 - literals that look like numbers must eval as 'both' (string and number).
Merge branch 'bugfix-10837' into release-6.0.1