reference/com/functions/variant-abs.xml
20216b916ed583938672cd09c2c2f430351430d1
...
...
@@ -8,8 +8,8 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>mixed</type><methodname>variant_abs</methodname>
12
-
<methodparam><type>mixed</type><parameter>val</parameter></methodparam>
11
+
<type>variant</type><methodname>variant_abs</methodname>
12
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
Returns the absolute value of a variant.
...
...
@@ -20,7 +20,7 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>val</parameter></term>
23
+
<term><parameter>value</parameter></term>
24
24
<listitem>
25
25
<para>
26
26
The variant.
...
...
@@ -34,9 +34,17 @@
34
34
<refsect1 role="returnvalues">
35
35
&reftitle.returnvalues;
36
36
<para>
37
-
Returns the absolute value of <parameter>val</parameter>.
37
+
Returns the absolute value of <parameter>value</parameter>.
38
38
</para>
39
39
</refsect1>
40
+

41
+
<refsect1 role="errors">
42
+
&reftitle.errors;
43
+
<para>
44
+
Throws a <classname>com_exception</classname> on failure.
45
+
</para>
46
+
</refsect1>
47
+

40
48
<refsect1 role="seealso">
41
49
&reftitle.seealso;
42
50
<para>
...
...
@@ -46,7 +54,6 @@
46
54
</para>
47
55
</refsect1>
48
56
</refentry>
49
-

50
57
<!-- Keep this comment at the end of the file
51
58
Local variables:
52
59
mode: sgml
53
60