We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba6f45 commit e531943Copy full SHA for e531943
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+# 1.1.3 - 2014-08-13
2
+
3
+* 5 decimals rounding
4
5
# 1.1.2 - 2014-08-10
6
7
* Prevent infinite loop by adding a `Call stack overflow`
index.js
@@ -8,7 +8,7 @@ var reduceFunctionCall = require("reduce-function-call")
8
* Constantes
9
*/
10
var MAX_STACK = 100 // should be enough for a single calc()...
11
-var DECIMAL_PRECISION = 10000 // 5 decimals
+var DECIMAL_PRECISION = 100000 // 5 decimals
12
var NESTED_CALC_RE = /(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g
13
14
/**
0 commit comments