We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to compute double absolute value. E.g: ||3-5|-4|
Typed expression is parsed as Latex value: |{|{3-5}|}-4|, which causing error when I try to evaluate.
Result should be 2.
The text was updated successfully, but these errors were encountered:
It works ok. My fault was setting latex expression for key as: |{#0}|, but should be: |#0|
Sorry, something went wrong.
Ok, I still have problem.
let ce = new ComputeEngine.ComputeEngine(); console.log(ce.parse('||3-5|-4|').evaluate().latex);
Result of above is: \error{|}
Should returns 2.
No branches or pull requests
Description
I would like to compute double absolute value. E.g: ||3-5|-4|
Actual Behavior
Typed expression is parsed as Latex value: |{|{3-5}|}-4|, which causing error when I try to evaluate.
Expected Behavior
Result should be 2.
The text was updated successfully, but these errors were encountered: