reference/intl/intlchar/chardigitvalue.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.chardigitvalue" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::charDigitValue</refname>
...
...
@@ -9,9 +8,9 @@
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::charDigitValue</methodname>
14
-
<methodparam><type>mixed</type><parameter>codepoint</parameter></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>IntlChar::charDigitValue</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>codepoint</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns the decimal digit value of a decimal digit character.
...
...
@@ -37,7 +36,7 @@
37
36
&reftitle.returnvalues;
38
37
<para>
39
38
The decimal digit value of <parameter>codepoint</parameter>,
40
-
or <literal>-1</literal> if it is not a decimal digit character.
39
+
or <literal>-1</literal> if it is not a decimal digit character. Returns &null; on failure.
41
40
</para>
42
41
</refsect1>
43
42

...
...
@@ -75,7 +74,6 @@ int(3)
75
74
</refsect1>
76
75

77
76
</refentry>
78
-

79
77
<!-- Keep this comment at the end of the file
80
78
Local variables:
81
79
mode: sgml
82
80