I am throwing SyntaxError: Parenthesis )expected (char 102) when using math.eval, And I found that when calculating the same expression, the scope variable parameter is 'complex' when it is reported, the 'simple' is normal; for example: "1.5/18.5" is calculated normally to get '0.081081081', "1.39/ 18.6" is reported. The specific situation is as follows:
expression=math.eval(formul, data),
form="bignumber((hs1-hg1)/(bignumber(hg1-hm1)))"),
hs1=40,
hg1=38.6,
Hm1=20
Edited: to make formatting clearer :)
I am throwing
SyntaxError: Parenthesis )expected (char 102)when using math.eval, And I found that when calculating the same expression, the scope variable parameter is 'complex' when it is reported, the 'simple' is normal; for example: "1.5/18.5" is calculated normally to get '0.081081081', "1.39/ 18.6" is reported. The specific situation is as follows:Edited: to make formatting clearer :)