math-expression-evaluator
math-expression-evaluator copied to clipboard
Math JS library. Super advanced & efficient Math expression evaluator
It would be great to support conditional expressions (like "if statements"). Similar to math.js "Conditional expression" seen here https://mathjs.org/docs/expressions/syntax.html 
I'm unsure if this issue should go here or in the Definitely Typed repo. According to the types `eval` returns a string: [eval](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/math-expression-evaluator/index.d.ts#L19) ```ts static eval(exp: string, tokens?: Token[], pair?:...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.2 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...
Bumps [npm](https://github.com/npm/cli) from 8.3.2 to 8.12.0. Changelog Sourced from npm's changelog. v8.12.0 (2022-06-01) Features aee6fc8 #4892 feat(init): reify on init new workspace (@ruyadorno) a8ae177 #4931 feat: Add --auth-type=webauthn flag (@jumoel)...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 3.1.0 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) v5.1.1 Bug Fixes unescape exclamation mark (#26) (a98874f) v5.1.0 Features add...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 4.11.8 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Bumps [lodash](https://github.com/lodash/lodash) from 3.10.1 to 4.17.21. Release notes Sourced from lodash's releases. 4.0.0 lodash v4.0.0 2015 was big year! Lodash became the most depended on npm package, passed 1 billion...
It would be simply wonderful to get support for doing math evaluations using hexadecimal (or even octal) notation. Is there any way to do add that?
The documentation [here](https://bugwheels94.github.io/math-expression-evaluator/) has some typos in the supported math symbols section, ``` \ Multiplication Operator eg. 23 results 6 ``` should be ``` * Multiplication Operator eg. 2*3 results...