[Library] matheval - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13) ---- Forum: Libraries (https://forum.open.mp/forumdisplay.php?fid=31) ---- Thread: [Library] matheval (/showthread.php?tid=133) |
matheval - SyS - 2019-04-14 matheval
This is a simple library for evaluating mathematical expressions given as string literals.Currently supported operators are:
Installation If you are using sampctl just use sampctl package install Sreyas-Sreelal/matheval Otherwise just clone the repository git clone https://www.github.com/sreyas-sreelal/matheval.git and add matheval.inc to your pawno/includes folder Usage There is only one function MathEval(expression[]) parameters
returns
For example : PHP Code: #include<matheval> Testing To run the tests: sampctl package run Dependencies
Repository https://github.com/Sreyas-Sreelal/matheval RE: matheval - Atom - 2019-04-14 good job |