Files
doc-fr/reference/math/functions/dechex.xml
Yannick Torres 7b2f15bbea sync with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166533 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-16 19:02:26 +00:00

71 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
<refentry id="function.dechex">
<refnamediv>
<refname>dechex</refname>
<refpurpose>Convertit de décimal en hexadécimal </refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>dechex</methodname>
<methodparam><type>int</type><parameter>number</parameter></methodparam>
</methodsynopsis>
<para>
<function>dechex</function> retourne une chaîne contenant
la représentation hexadécimale du nombre
<parameter>number</parameter>. Le nombre le plus grand qui puisse être
converti est 4294967295 en décimal, ce qui donnera "ffffffff".
</para>
<para>
<example>
<title>Exemple aec <function>dechex</function></title>
<programlisting role="php">
<![CDATA[
<?php
echo dechex(10) . "\n";
echo dechex(47);
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
a
2f
]]>
</screen>
</example>
</para>
<para>
Voir aussi
<function>hexdec</function>,
<function>decbin</function>,
<function>decoct</function> et
<function>base_convert</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->