Skip to content

throw error "SyntaxError: Parenthesis ) expected (char 102)"  #1485

@SKT1yang

Description

@SKT1yang

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions