reference/intl/intlchar/digit.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlchar.digit" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::digit</refname>
...
...
@@ -9,10 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>int</type><methodname>IntlChar::digit</methodname>
14
-
<methodparam><type>string</type><parameter>codepoint</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>radix</parameter><initializer>10</initializer></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>int</type><type>false</type><type>null</type></type><methodname>IntlChar::digit</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>codepoint</parameter></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>base</parameter><initializer>10</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Returns the decimal digit value of the code point in the specified radix.
...
...
@@ -40,7 +39,7 @@
40
39
</listitem>
41
40
</varlistentry>
42
41
<varlistentry>
43
-
<term><parameter>radix</parameter></term>
42
+
<term><parameter>base</parameter></term>
44
43
<listitem>
45
44
<para>
46
45
The radix (defaults to <literal>10</literal>).
...
...
@@ -54,7 +53,7 @@
54
53
&reftitle.returnvalues;
55
54
<para>
56
55
Returns the numeric value represented by the character in the specified radix,
57
-
or &false; if there is no value or if the value exceeds the radix.
56
+
or &false; if there is no value or if the value exceeds the radix. Returns &null; on failure.
58
57
</para>
59
58
&return.falseproblem;
60
59
</refsect1>
...
...
@@ -98,7 +97,6 @@ int(10)
98
97
</refsect1>
99
98

100
99
</refentry>
101
-

102
100
<!-- Keep this comment at the end of the file
103
101
Local variables:
104
102
mode: sgml
105
103