Skip to content

Commit

Permalink
fixed math.js error
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaisi committed Jun 24, 2024
1 parent 5c18d3f commit 299caae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js_plugins/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function parse_calc(key, response) {
}

finalstring = finalstring.trim();
//console.log("Final String");
//console.log(finalstring);
console.log("(line code delay) suppress error from math.js");
console.log("(line code delay) suppress error from math.js");

var value = math.round(math.eval(finalstring),parseInt(data_decimal_numbers));

Expand Down

0 comments on commit 299caae

Please sign in to comment.