From 29a60e0d5500328ae898b2d057cf90e107e01f4b Mon Sep 17 00:00:00 2001 From: Lico San Date: Mon, 12 Aug 2019 16:54:53 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index daf6510..7faddd3 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ If you need to evaluate a formula with basic operators and variables, and * **Rounding OK:** You want to specify a precision and rounding mode for the result, * **Recursive eval:** You want to be able to include sub-formulas inside your variables, * **Arrays OK:** You need to use indexed or key-value arrays as variable inside the formula, + ...then you gonna like Formula1 ! ;-) + **Simple usage no variables** ```PHP @@ -63,4 +65,6 @@ echo($f1->compute()."
\n"); //55 ## TODO -* add math operations like sin, cos, sqrt etc... +* Add math operations like sin, cos, sqrt etc... +* Would be better to give parameters in the compute, to allow one parsing-many evals, but needs rewrite of current parse-compute split. +* The index of indexed arrays should be evaluated to allow formulas, but needs rewrite of current parse-compute split.