reference/math/functions/pi.xml
338f05c722ce829ee78f14c25b2e7333ea350cf9
...
...
@@ -12,14 +12,17 @@
12
12
<void/>
13
13
</methodsynopsis>
14
14
<simpara>
15
-
Returns an approximation of pi. The returned <type>float</type>
16
-
has a precision based on the
17
-
<link linkend="ini.precision">precision</link> directive in
18
-
&php.ini;, which defaults to <literal>14</literal>.
15
+
Returns an approximation of pi.
19
16
Also, you can use the <constant>M_PI</constant> constant which yields
20
17
identical results to <function>pi</function>.
21
18
</simpara>
22
19
</refsect1>
20
+

21
+
<refsect1 role="parameters">
22
+
&reftitle.parameters;
23
+
&no.function.parameters;
24
+
</refsect1>
25
+
23
26
<refsect1 role="returnvalues">
24
27
&reftitle.returnvalues;
25
28
<para>
26
29