Closed maxloyko closed 12 months ago
https://github.com/smarty-php/smarty/blob/1d9cda2be34fd6edb74924684260636fd0b89288/libs/plugins/function.math.php#L66C1-L78C6
for example {math equation="-2.0*(x+y+z)" assign="invoice_total" x=12.0 y=0.4 z=-12.2} does not work basically any with - sign at the begin
{math equation="-2.0*(x+y+z)" assign="invoice_total" x=12.0 y=0.4 z=-12.2}
-
https://github.com/smarty-php/smarty/blob/1d9cda2be34fd6edb74924684260636fd0b89288/libs/plugins/function.math.php#L66C1-L78C6
for example
{math equation="-2.0*(x+y+z)" assign="invoice_total" x=12.0 y=0.4 z=-12.2}
does not work basically any with-
sign at the begin