summaryrefslogtreecommitdiff
path: root/docs/designers/language-custom-functions/language-function-math.md
diff options
context:
space:
mode:
authorSimon Wisselink <s.wisselink@iwink.nl>2023-02-03 22:31:59 +0100
committerSimon Wisselink <s.wisselink@iwink.nl>2023-02-03 22:31:59 +0100
commit51ed0d6791cfedbdf2492603d226618133154d70 (patch)
treeff1aa263c5b1ea7614cf910c5232a049b145a272 /docs/designers/language-custom-functions/language-function-math.md
parentc94d3ddafa8e41e73f127af1959b4715db021d1e (diff)
downloadsmarty-51ed0d6791cfedbdf2492603d226618133154d70.tar.gz
smarty-51ed0d6791cfedbdf2492603d226618133154d70.tar.bz2
smarty-51ed0d6791cfedbdf2492603d226618133154d70.zip
fixes to docs
Diffstat (limited to 'docs/designers/language-custom-functions/language-function-math.md')
-rw-r--r--docs/designers/language-custom-functions/language-function-math.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/designers/language-custom-functions/language-function-math.md b/docs/designers/language-custom-functions/language-function-math.md
index 9adfd1c5..8a279620 100644
--- a/docs/designers/language-custom-functions/language-function-math.md
+++ b/docs/designers/language-custom-functions/language-function-math.md
@@ -13,7 +13,7 @@ template.
- +, -, /, \*, abs, ceil, cos, exp, floor, log, log10, max, min, pi,
pow, rand, round, sin, sqrt, srans and tan are all valid operators.
Check the PHP documentation for further information on these
- [math](&url.php-manual;eval) functions.
+ [math](https://www.php.net/eval) functions.
- If you supply the `assign` attribute, the output of the `{math}`
function will be assigned to this template variable instead of being
@@ -22,7 +22,7 @@ template.
> **Note**
>
> `{math}` is an expensive function in performance due to its use of the
-> php [`eval()`](&url.php-manual;eval) function. Doing the math in PHP
+> php [`eval()`](https://www.php.net/eval) function. Doing the math in PHP
> is much more efficient, so whenever possible do the math calculations
> in the script and [`assign()`](#api.assign) the results to the
> template. Definitely avoid repetitive `{math}` function calls, eg