cvs: phpdoc-de /reference/math/functions abs.xml

From: Date: Sat, 31 Mar 2007 20:07:52 +0000
Subject: cvs: phpdoc-de /reference/math/functions abs.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-2111@lists.php.net to get a copy of this message
hholzgra Sat Mar 31 20:07:52 2007 UTC Modified files: /phpdoc-de/reference/math/functions abs.xml Log: translation update, new structure http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/abs.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-de/reference/math/functions/abs.xml diff -u phpdoc-de/reference/math/functions/abs.xml:1.6 phpdoc-de/reference/math/functions/abs.xml:1.7 --- phpdoc-de/reference/math/functions/abs.xml:1.6 Sat Mar 31 10:25:11 2007 +++ phpdoc-de/reference/math/functions/abs.xml Sat Mar 31 20:07:52 2007 @@ -1,27 +1,54 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.5 Maintainer: hholzgra Status: ready --> - <refentry id="function.abs"> - <refnamediv> - <refname>abs</refname> - <refpurpose>Betrag eines Wertes</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>number</type><methodname>abs</methodname> - <methodparam><type>mixed</type><parameter>number</parameter></methodparam> - </methodsynopsis> - <para> - Liefert den Betrag des Wertes <parameter>number</parameter>. - Ist <parameter>number</parameter> vom Typ <type>float</type> - so ist auch das Ergebnis vom Typ <type>float</type>, ansonsten - ist es vom Typ <type>integer</type> (da <type>float</type> einen - größeren Wertebereich abdeckt als <type>integer</type>). - </para> - <example> - <title><function>abs</function> Beispiel</title> - <programlisting role="php"> +<!-- $Revision: 1.1 --> +<!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready --> +<refentry id="function.abs"> + <refnamediv> + <refname>abs</refname> + <refpurpose>Absolutwert bzw. Betrag</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>number</type><methodname>abs</methodname> + <methodparam><type>mixed</type><parameter>number</parameter></methodparam> + </methodsynopsis> + <para> + Liefert den Betrag des Wertes <parameter>nimber</parameter> + ohne Vorzeichen. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Der zu bearbeitende Wert + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Der Betrag des Wertes <parameter>number</parameter>. + Ist <parameter>number</parameter> vom Typ <type>float</type> + so ist auch das Ergebnis von diesem Typ, ansonsten wird + das Ergebnis als <type>integer</type> zurückgegeben + (da <type>float</type> einen größeren Wertebereich als + <type>integer</type> hat). + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>abs</function> Beispiel</title> + <programlisting role="php"> <![CDATA[ <?php $abs = abs(-4.2); // $abs = 4.2; (double/float) @@ -29,10 +56,11 @@ $abs3 = abs(-5); // $abs3 = 5; (integer) ?> ]]> - </programlisting> - </example> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.de (#2111) next »