add missing predecessor function

closes #352
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
Merge pull request #353 from stoeffel/predecessor

add missing predecessor function