I had a type mismatch problem: stored numeric values where retrieved as strings. This commit fixes the issue by utilising the 3rd flag bit to indicate a numeric value.
Preserve type for numeric values
could you change this to dataSet = +dataSet looks good otherwise.
dataSet = +dataSet
Thanks for the pull request, it looks good to me. Could you a simple test for this?
Update test for storing and retrieving numbers
I applied the change you suggested and updated an existing test to take the change into account. Unfortunately I haven't been able to build the tests on my (Windows) machine to verify the change. Hope it works :)
All tests seem to pass here, thanks a lot for your contribution! I really appreciate it!