MathParser.org-mXparser
MathParser.org-mXparser copied to clipboard
Add integer division operator
- We all need integer division operator
Ok, this will be easy :-) I will do that soon.
As of now you can do it like that:
Expression e = new Expression("floor(13/7)");
mXparser.consolePrintln(e.calculate());
Result:
[mXparser-v.5.1.1] 1.0
Done, example "\" backslash as integer division operator
"7\3" = 2