Skip to content
New issue

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

Add integer division operator #285

Open
gx56q opened this issue Nov 25, 2022 · 1 comment
Open

Add integer division operator #285

gx56q opened this issue Nov 25, 2022 · 1 comment

Comments

@gx56q
Copy link

gx56q commented Nov 25, 2022

  • We all need integer division operator
@mariuszgromada
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants