Skip to content

Commit e531943

Browse files
committed
5 decimals rounding
1 parent 7ba6f45 commit e531943

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.3 - 2014-08-13
2+
3+
* 5 decimals rounding
4+
15
# 1.1.2 - 2014-08-10
26

37
* Prevent infinite loop by adding a `Call stack overflow`

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var reduceFunctionCall = require("reduce-function-call")
88
* Constantes
99
*/
1010
var MAX_STACK = 100 // should be enough for a single calc()...
11-
var DECIMAL_PRECISION = 10000 // 5 decimals
11+
var DECIMAL_PRECISION = 100000 // 5 decimals
1212
var NESTED_CALC_RE = /(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g
1313

1414
/**

0 commit comments

Comments
 (0)