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

From: Date: Fri, 14 Jun 2002 21:45:33 +0000
Subject: cvs: phpdoc-nl /reference/math/functions abs.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969346465@lists.php.net to get a copy of this message
derick Fri Jun 14 17:45:33 2002 EDT Modified files: /phpdoc-nl/reference/math/functions abs.xml Log: - Staying in sync Index: phpdoc-nl/reference/math/functions/abs.xml diff -u phpdoc-nl/reference/math/functions/abs.xml:1.2 phpdoc-nl/reference/math/functions/abs.xml:1.3 --- phpdoc-nl/reference/math/functions/abs.xml:1.2 Mon Jun 10 11:04:32 2002 +++ phpdoc-nl/reference/math/functions/abs.xml Fri Jun 14 17:45:33 2002 @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: sander Status: ready --> +<!-- $Revision: 1.3 $ --> <refentry id="function.abs"> <refnamediv> <refname>abs</refname> @@ -9,22 +10,25 @@ <title>Omschrijving</title> <methodsynopsis> <type>mixed</type><methodname>abs</methodname> - <methodparam><type>mixed</type><parameter>number</parameter></methodparam> + <methodparam><type>mixed</type><parameter>getal</parameter></methodparam> </methodsynopsis> <para> - Geeft de absolute waarde van <parameter>number</parameter>. Als het - argument <parameter>number</parameter> een <type>float</type> is, - dan zal ook een <type>float</type> worden teruggegeven, - anders is het een <type>integer</type> (omdat <type>float</type> - normaliter een groter bereik heeft dan <type>integer</type>). + Geeft de absolute waarde van <parameter>getal</parameter>. Als de + <parameter>getal</parameter> parameter <type>float</type> is, dan zal de + waarde ook als <type>float</type> worden teruggegeven, anders zal de + waarde als <type>integer</type> worden teruggegeven (omdat + <type>float</type> normaliter een groter bereik heeft dan + <type>integer</type>). </para> <example> <title><function>abs</function> voorbeeld</title> <programlisting role="php"> <![CDATA[ -$abs = abs(-4.2); // $abs = 4.2; (double/float) -$abs2 = abs(5); // $abs2 = 5; (integer) -$abs3 = abs(-5); // $abs3 = 5; (integer) +<?php + $abs = abs(-4.2); // $abs = 4.2; (double/float) + $abs2 = abs(5); // $abs2 = 5; (integer) + $abs3 = abs(-5); // $abs3 = 5; (integer) +?> ]]> </programlisting> </example>

« previous php.doc (#969346465) next »