cvs: phpdoc-pl /reference/math/functions base-convert.xml

From: Date: Wed, 15 Mar 2006 01:02:44 +0000
Subject: cvs: phpdoc-pl /reference/math/functions base-convert.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-723@lists.php.net to get a copy of this message
leszek Wed Mar 15 01:02:44 2006 UTC Modified files: /phpdoc-pl/reference/math/functions base-convert.xml Log: [adi] update to rev. 1.6 http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/math/functions/base-convert.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-pl/reference/math/functions/base-convert.xml diff -u phpdoc-pl/reference/math/functions/base-convert.xml:1.5 phpdoc-pl/reference/math/functions/base-convert.xml:1.6 --- phpdoc-pl/reference/math/functions/base-convert.xml:1.5 Thu Jun 20 01:41:24 2002 +++ phpdoc-pl/reference/math/functions/base-convert.xml Wed Mar 15 01:02:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.2 Maintainer: qrak Status: ready --> -<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: qrak Status: ready --> +<!-- $Revision: 1.6 $ --> <refentry id="function.base-convert"> <refnamediv> <refname>base_convert</refname> @@ -24,13 +24,35 @@ w³±cznie. Cyfry w liczbach o bazie wiêkszej ni¿ 10 s± reprezentowane za pomoc± liter a-z, gdzie a oznacza 10, b oznacza 11, a z oznacza 35. <example> - <title><function>base_convert</function></title> + <title><function>base_convert</function> przyk³ad</title> <programlisting role="php"> <![CDATA[ -$binary = base_convert ($hexadecimal, 16, 2); +<?php +$hexadecimal = 'A37334'; +echo base_convert($hexadecimal, 16, 2); +?> ]]> </programlisting> + <para> + Wy¶wietli: + </para> + <screen> +<![CDATA[ +101000110111001100110100 +]]> + </screen> </example> + </para> + <warning> + <simpara> + <function>base_convert</function> mo¿e traciæ precyzjê przy du¿ych liczbach + z powodu odwo³ywania siê do wewnêtrznych typów "double" lub "float". + Proszê zajrzeæ do sekcji <link linkend="language.types.float">Liczby zmiennoprzecinkowe</link> + podrêcznika po szczegó³owe informacje i ograniczenia. + </simpara> + </warning> + <para> + Patrz tak¿e: <function>intval</function>. </para> </refsect1> </refentry>

« previous php.doc.pl (#723) next »