Closed khaway closed 4 years ago
(new FormulaParser('(Cn * Vn) - V'))->setVariables([ 'Cn' => 2, 'Vn' => 2, 'V' => 2 ])->getResult()[1];
Fixed dev suite
Added getComputedResult method (new FormulaParser('2 + 2'))->getComputedResult()
(new FormulaParser('2 + 2'))->getComputedResult()
Changed package dir structure
(new FormulaParser('(Cn * Vn) - V'))->setVariables([ 'Cn' => 2, 'Vn' => 2, 'V' => 2 ])->getResult()[1];
Fixed dev suite
Added getComputedResult method
(new FormulaParser('2 + 2'))->getComputedResult()
Changed package dir structure