mossadal / math-parser

PHP parser for mathematical expressions
GNU Lesser General Public License v3.0
171 stars 38 forks source link

it is required to add support for the % operator #32

Open catthecreator opened 1 year ago

catthecreator commented 1 year ago

Greetings!

I'm a little surprised that this super-functional library doesn't support calculating the remainder of the division (%)

Maybe I didn't study the code carefully?

If it really does not exist, please add.

I've studied the code, it should be a pretty simple action. At the same time, I have not found an opportunity to extend expressions in child classes

Thank you for your work and attention