reference/com/functions/variant-round.xml
20216b916ed583938672cd09c2c2f430351430d1
...
...
@@ -8,12 +8,12 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>mixed</type><methodname>variant_round</methodname>
12
-
<methodparam><type>mixed</type><parameter>variant</parameter></methodparam>
11
+
<type class="union"><type>variant</type><type>null</type></type><methodname>variant_round</methodname>
12
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
13
13
<methodparam><type>int</type><parameter>decimals</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Returns the value of <parameter>variant</parameter> rounded to
16
+
Returns the value of <parameter>value</parameter> rounded to
17
17
<parameter>decimals</parameter> decimal places.
18
18
</para>
19
19
</refsect1>
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>variant</parameter></term>
25
+
<term><parameter>value</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
The variant.
...
...
@@ -44,7 +44,7 @@
44
44
<refsect1 role="returnvalues">
45
45
&reftitle.returnvalues;
46
46
<para>
47
-
Returns the rounded value.
47
+
Returns the rounded value, or &null; on failure.
48
48
</para>
49
49
</refsect1>
50
50
<refsect1 role="seealso">
...
...
@@ -56,7 +56,6 @@
56
56
</para>
57
57
</refsect1>
58
58
</refentry>
59
-

60
59
<!-- Keep this comment at the end of the file
61
60
Local variables:
62
61
mode: sgml
63
62