precision changes precision and max doesn't modify options object
added tests and corrected the number function
Merge pull request #146 from mkawalec/master

[fix] Precision changes precision and max doesn't modify options object