Simple math expresions parser and calculator
Find a file
Alexander Kiryukhin 2df6097e80 Update README.md
2013-03-14 04:36:29 +04:00
NXP Initial commit 2013-03-14 04:27:37 +04:00
.gitignore Initial commit 2013-03-14 04:27:37 +04:00
composer.json Update composer.json 2013-03-14 04:32:43 +04:00
README.md Update README.md 2013-03-14 04:36:29 +04:00
test.php Initial commit 2013-03-14 04:27:37 +04:00

NXP MathExecutor

Simple math expressions calculator

Sample usage:

<?php
require "vendor/autoload.php";
$calculator = new \NXP\MathExecutor();
print $calculator->execute("1 + 2 * (2 - (4+10))^2");

Install via Composer

All instructions to install here: https://packagist.org/packages/nxp/math-executor