Skip to content

Does muParserNet support expression of ternary operator? #16

Description

@Joya1234

Hello,

Recently, we are using muParserNet and finding incorrect results for a ternary operator expression.

Exp1 : (a-b<100)?a-b+1:null
Exp2 : (a-b<0)?a-b+1:null

Here,
When called parser.Eval() function,

Exp1 works fine and provides correct results .
But, Exp2 does not provide correct results and provide null values instead of correct a-b+1 value.

Please help.

Thank you.

Kindly reply.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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