Improved detection of ideal precision for value string.
Merge pull request #111 from mitchmindtree/master

Improved detection of ideal precision for value string.