We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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}
-
The text was updated successfully, but these errors were encountered:
Fix use of negative numbers in math equations.
dbc86a9
Fixes #895
f1970e0
Fix use of negative numbers in math equations. (#903)
af2e12d
Fix use of negative numbers in math equations. (#904)
2ff66e0
Successfully merging a pull request may close this issue.
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 workbasically any with
-
sign at the beginThe text was updated successfully, but these errors were encountered: