15 lines
333 B
Markdown
15 lines
333 B
Markdown
# 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
|