cvs: phpdoc-de /reference/math/functions pi.xml
| From: | Hartmut Holzgraefe | Date: | Sat, 31 Mar 2007 21:49:23 +0000 |
| Subject: | cvs: phpdoc-de /reference/math/functions pi.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2113@lists.php.net to get a copy of this message | ||
hholzgra Sat Mar 31 21:49:23 2007 UTC
Modified files:
/phpdoc-de/reference/math/functions pi.xml
Log:
translation upgrade, new structure
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/pi.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-de/reference/math/functions/pi.xml
diff -u phpdoc-de/reference/math/functions/pi.xml:1.4 phpdoc-de/reference/math/functions/pi.xml:1.5
--- phpdoc-de/reference/math/functions/pi.xml:1.4 Wed Mar 21 21:12:28 2007
+++ phpdoc-de/reference/math/functions/pi.xml Sat Mar 31 21:49:23 2007
@@ -1,24 +1,50 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: ready -->
- <refentry id="function.pi">
- <refnamediv>
- <refname>pi</refname>
- <refpurpose>Wert von PI</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Beschreibung</title>
- <methodsynopsis>
- <type>double</type><methodname>pi</methodname>
- <void/>
- </methodsynopsis>
- <para>
- Diese Funktionen liefert (im Rahmen der möglichen Genauigkeit)
- den Wert der Kreiszahl Pi. Die Konstante M_PI erfüllt denselben
- Zweck allerdings wesentlich effektiver.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.1 -->
+<!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready -->
+<refentry id="function.pi">
+ <refnamediv>
+ <refname>pi</refname>
+ <refpurpose>Liefert den Wert von Pi</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>float</type><methodname>pi</methodname>
+ <void/>
+ </methodsynopsis>
+ <simpara>
+ Die Funktion liefert einen Näherungswert von Pi. Die Anzahl
+ der signifikanten Nachkommastellen wird durch die &php.ini;
+ Direktive link linkend="ini.precision">precision</link>
+ festgelegt, der Vorgabewert beträgt 14 Stellen.
+ Sie können auch die Konstante <constant>M_PI</constant>
+ benutzen die das gleiche Resultat liefert wie die
+ <function>pi</function>.
+ </simpara>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Der Wert von Pi als <type>float</type>.
+ </para>
+ </refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>pi</function> Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo pi(); // 3.1415926535898
+echo M_PI; // 3.1415926535898
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: