Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect answer for isEqual when decimals are attached to variables #135

Open
johnsmithecon opened this issue Dec 10, 2023 · 0 comments
Open

Comments

@johnsmithecon
Copy link

Incorrect answer for isEqual when decimals are attached to variables.

Steps to Reproduce

let expr1 = engine.parse("2(13.1x+1)");
let expr2 = engine.parse("26.2x+2");
console.log("expr1 is equal to expr2: ", expr1.isEqual(expr2));

Actual Behavior

The result is "expr1 is equal to expr2: false"

Expected Behavior

"expr1 is equal to expr2: true"

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

No branches or pull requests

1 participant