When the pivot demo's foumula is changed to do division( line 89, code as below ), the "sum(total)" column's value is wrong.
Is there any solution for it?
formulas: [['total', function(rd){
var total = rd.gold /rd.silver;
return isNaN(total) || !isFinite(total)? "": total;
}]],
In the following pic, in the 1st line, the result should be 2.1, but it becomes 8.