MVEL. eval Numerical Calculation
MVEL can calculate numeric values in the form of strings, which is very simple to use.
However, when a colleague encounters a problem and finds a problem, when multiple numeric values are multiplied and then added together, if the result of the calculation greater than or equal to three is incorrect or an error is reported
For example, if a * B + c * d + e * f is added to three consecutive product numbers, an error occurs.
However, it may be due to the jar package version of the tool. The updated version is not tested.
Some conceptual problems in the numerical calculation method
You are a teacher. These things are generally used by the teacher for preparing lessons. You can find some textbooks or search for them online, no one answered this question. It is too complicated and too textual.
C language Numerical Calculation
(A + = a ++, a * 2, ++)
---------------------
A + = a ++ returns a = 5
A * 2 is not assigned a value, which is equal to not executed.
++ A calculates a = 6
B = 2 + comma expression rightmost Value
= 8