cvs: phpdoc-pl /reference/math/functions octdec.xml
| From: | Leszek Krupinski | Date: | Sun, 16 Apr 2006 13:24:37 +0000 |
| Subject: | cvs: phpdoc-pl /reference/math/functions octdec.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-837@lists.php.net to get a copy of this message | ||
leszek Sun Apr 16 13:24:37 2006 UTC
Modified files:
/phpdoc-pl/reference/math/functions octdec.xml
Log:
[adi] update to rev. 1.8
http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/math/functions/octdec.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-pl/reference/math/functions/octdec.xml
diff -u phpdoc-pl/reference/math/functions/octdec.xml:1.6
phpdoc-pl/reference/math/functions/octdec.xml:1.7
--- phpdoc-pl/reference/math/functions/octdec.xml:1.6 Thu Jun 20 01:42:58 2002
+++ phpdoc-pl/reference/math/functions/octdec.xml Sun Apr 16 13:24:37 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.2 Maintainer: qrak Status: ready -->
-<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.8 Maintainer: qrak Status: ready -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.octdec">
<refnamediv>
<refname>octdec</refname>
@@ -9,16 +9,42 @@
<refsect1>
<title>Opis</title>
<methodsynopsis>
- <type>int</type><methodname>octdec</methodname>
+ <type>number</type><methodname>octdec</methodname>
<methodparam><type>string</type><parameter>liczba_ósemkowa</parameter></methodparam>
</methodsynopsis>
<para>
Zwraca dziesiêtny odpowiednik liczby ósemkowej podanej jako argument
<parameter>liczba_ósemkowa</parameter>. Najwiêksz± liczb±, jaka mo¿e byæ
skonwertowana jest 17777777777 ósemkowo, czyli 2147483647 dziesiêtnie.
+ Od PHP 4.1.0, funkcja potrafi skowartowaæ wiêksze liczby. Wtedy zwraca
+ <type>float</type>.
</para>
<para>
- Patrz tak¿e: <function>decoct</function>.
+ <example>
+ <title><function>octdec</function> przyk³ad</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo octdec('77') . "\n";
+echo octdec(decoct(45));
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+63
+45
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ Patrz tak¿e:
+ <function>decoct</function>,
+ <function>bindec</function>,
+ <function>hexdec</function> i
+ <function>base_convert</function>.
</para>
</refsect1>
</refentry>