Fixes #329; Allow negative decimal precision
Provide an example for toNumber with negative values
Merge pull request #332 from megawac/toNum

Allow negative decimal precision