aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Wells <bruce.wells@simparel.com>2019-08-16 15:35:06 +0300
committerBruce Wells <bruce.wells@simparel.com>2019-08-16 15:35:06 +0300
commit2bc89df821e2b98577a1b8daa1fd7349b18dcf92 (patch)
tree50fad589e827aa2904c65b27a6f9cba759316458 /README.md
parente03df64281a1c33639b13c9f490d4452c1a1784d (diff)
parente1b770d6c884d79b8c3c6226d2e6cc8cc5a633ca (diff)
Merge branch 'master' of https://github.com/phpfui/MathExecutor
# Conflicts: # src/NXP/Classes/Token/TokenFunction.php
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0c87108..4863224 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# MathExecutor [![Stories in Ready](https://badge.waffle.io/NeonXP/MathExecutor.png?label=ready&title=Ready)](https://waffle.io/NeonXP/MathExecutor) [![Build Status](https://travis-ci.org/NeonXP/MathExecutor.png?branch=master)](https://travis-ci.org/NeonXP/MathExecutor)
-A simple math expressions calculator
+# A simple and extensible math expressions calculator
## Features:
* Built in support for +, -, *, / and power (^) operators plus ()
@@ -11,7 +11,7 @@ A simple math expressions calculator
* Exceptions on divide by zero, or treat as zero
* Unary Minus (e.g. -3)
* Pi ($pi) and Euler's number ($e) support to 11 decimal places
-* Easily extendable
+* Easily extensible
## Install via Composer:
```
@@ -43,6 +43,7 @@ Add custom function to executor:
```php
$executor->addFunction('abs', function($arg) {return abs($arg);});
```
+Function default parameters are not supported at this time.
Default parameters are not currently supported.