denissimon / formula-parser

Parsing and evaluating mathematical formulas given as strings.
MIT License
76 stars 24 forks source link

Update Formula Parser package #8

Closed khaway closed 4 years ago

khaway commented 4 years ago

(new FormulaParser('(Cn * Vn) - V'))->setVariables([ 'Cn' => 2, 'Vn' => 2, 'V' => 2 ])->getResult()[1];