reference/com/functions/variant-int.xml
20216b916ed583938672cd09c2c2f430351430d1
...
...
@@ -8,8 +8,8 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>mixed</type><methodname>variant_int</methodname>
12
-
<methodparam><type>mixed</type><parameter>variant</parameter></methodparam>
11
+
<type>variant</type><methodname>variant_int</methodname>
12
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
Gets the integer portion of a variant.
...
...
@@ -20,7 +20,7 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>variant</parameter></term>
23
+
<term><parameter>value</parameter></term>
24
24
<listitem>
25
25
<para>
26
26
The variant.
...
...
@@ -34,12 +34,20 @@
34
34
<refsect1 role="returnvalues">
35
35
&reftitle.returnvalues;
36
36
<para>
37
-
If <parameter>variant</parameter> is negative, then the first negative
37
+
If <parameter>value</parameter> is negative, then the first negative
38
38
integer greater than or equal to the variant is returned, otherwise
39
39
returns the integer portion of the value of
40
-
<parameter>variant</parameter>.
40
+
<parameter>value</parameter>.
41
41
</para>
42
42
</refsect1>
43
+

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

43
51
<refsect1 role="seealso">
44
52
&reftitle.seealso;
45
53
<para>
...
...
@@ -53,7 +61,6 @@
53
61
</para>
54
62
</refsect1>
55
63
</refentry>
56
-

57
64
<!-- Keep this comment at the end of the file
58
65
Local variables:
59
66
mode: sgml
60
67