I am consisdering integrating mXparser in my Onenote addin to allow for simple mathematical operations in an accounting environment where we use decimals with thousands and decimal separators.

I would like to be able to read the (selected) expressiong 1,200.15/250 and return something like 1,200.15/250=4.80.

I understand mxParser does not support thousands separators. Any hint on how to go about and implemnt that, or better if/when you would implement this?

]]>Thanks for creating mXparser, it is extremely useful.

I wondered if you would be able to help for a particular use case:

I have a number of expressions to evaluate, each using a small selection from a fairly large number of variables, and the value of each variable may change before I need to re-evaluate each expression.

If I understand correctly, when I create each expression I need to addArguments(...) for each of the named arguments in the expression, and before evaluating each expression, I need to setArgumentValue(...) to update those values to the current value of the variable. In my case, this becomes quite a big overhead, keeping track of which variables are in which expression, and if I simply update every variable in my list it is quite inefficient. Is there a way to pass arguments in such a way that the values used by the parser update automatically when the underlying variable changes (i.e. a sort of pass-by-reference arrangement)?

Many Thanks,

Andrew

]]>Some time ago I started a new web application project, with Eclipse Microprofile (Java) and .NET Core microservices. The frontends get developed using TypeScript and the REACT framework. I do need the ability, to provide the users with a possibility to define mathematic formulas in an Excel-like way in the frontend. Most of the calculations must be done in Java or C# backend. mXparser was my first choice, but the frontend would not work. A JS-math framework like mathJS is nice, but formulas could be potentially different. My solution was to port your Java version to TypeScript. Examples in the tutorial calculate the same as your Java one. In conclusion, mXparser formulas can now be used in the JavaScript world (browser, nodeJS) too. Maybe you like the idea too. Feel free to contact me... ]]>

The last two arguments are: from, to

mXparser implements numerical root finding

]]>https://mathparser.org/mxparser-tutorial/

https://mathparser.org/mxparser-tutorial/solving-equation-fx-0/

https://mathparser.org/api/

https://mathparser.org/mxparser-math-collection/

or use help that is built in the library

`mXparser.consolePrintHelp();`

`mXparser.consolePrintHelp("solve");`

Best regards

]]>So, what exactly are last 2 values? Minimum & maximum or starting points?

Where is help/documentation of this?

Your function at x = 0 is not defined, use different starting point, for instance 1 instead of 0.

solve(20317.600000/x - 22, x, 1, 65535)

Best regards

]]>I want to use it as part of my software but currently it can't all solve my functions.

This works fine:

solve(0.351567 * (x - 57) + 0.000000 - 2, x, 0, 255)

Result: 62,68881607

But for example, simple function 20317.600000/x = y

I know y (y = 22), I need to calculate x, so:

solve(20317.600000/x - 22, x, 0, 65535)

Result is always max value: 65535.