xpath2.js
xpath2.js copied to clipboard
Math.round bug fix
(2077.14 * 1000 + 5.59 * 1000)/1000 = 2082.7299999999996 Math.round to round before division.
Fixing a bug which introduces decimals when rounding in fn:sum.