cvs: phpdoc-pl /reference/math/functions deg2rad.xml
| From: | Leszek Krupinski | Date: | Sun, 16 Apr 2006 00:02:10 +0000 |
| Subject: | cvs: phpdoc-pl /reference/math/functions deg2rad.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-825@lists.php.net to get a copy of this message | ||
leszek Sun Apr 16 00:02:10 2006 UTC
Modified files:
/phpdoc-pl/reference/math/functions deg2rad.xml
Log:
[adi] update to rev. 1.3
http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/math/functions/deg2rad.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-pl/reference/math/functions/deg2rad.xml
diff -u phpdoc-pl/reference/math/functions/deg2rad.xml:1.6
phpdoc-pl/reference/math/functions/deg2rad.xml:1.7
--- phpdoc-pl/reference/math/functions/deg2rad.xml:1.6 Thu Jun 20 01:41:29 2002
+++ phpdoc-pl/reference/math/functions/deg2rad.xml Sun Apr 16 00:02:10 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.2 Maintainer: qrak Status: ready -->
-<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.3 Maintainer: qrak Status: ready -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.deg2rad">
<refnamediv>
<refname>deg2rad</refname>
@@ -18,6 +18,21 @@
<function>deg2rad</function> przelicza stopnie podane w
<parameter>liczba</parameter> na radiany.
</para>
+ <para>
+ <example>
+ <title><function>deg2rad</function> przyk³ad</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+echo deg2rad(45); // 0.785398163397
+var_dump(deg2rad(45) === M_PI_4); // bool(true)
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
<para>
Patrz tak¿e: <function>rad2deg</function>.
</para>