diff --git a/functions/math.xml b/functions/math.xml index dbeadeee76..383882607a 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -943,6 +943,16 @@ $randval = mt_rand(); Returns an approximation of pi. + + + + +echo pi(); +// echo's 3.1415926535898 + + + +