cvs: phpdoc-hu /reference/math/functions deg2rad.xml

From: Date: Tue, 03 Aug 2004 14:52:37 +0000
Subject: cvs: phpdoc-hu /reference/math/functions deg2rad.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-771@lists.php.net to get a copy of this message
cece Tue Aug 3 10:52:37 2004 EDT Modified files: /phpdoc-hu/reference/math/functions deg2rad.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/math/functions/deg2rad.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/math/functions/deg2rad.xml diff -u phpdoc-hu/reference/math/functions/deg2rad.xml:1.2 phpdoc-hu/reference/math/functions/deg2rad.xml:1.3 --- phpdoc-hu/reference/math/functions/deg2rad.xml:1.2 Wed Apr 17 02:58:01 2002 +++ phpdoc-hu/reference/math/functions/deg2rad.xml Tue Aug 3 10:52:37 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2" ?> <!-- splitted from ./hu/functions/math.xml, last change in rev 1.1 --> <!-- last change to 'deg2rad' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: gerzson Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: gerzson Status: ready --> <!-- OLD-Revision: 1.78/EN.1.2 --> <refentry id="function.deg2rad"> <refnamediv> @@ -17,6 +17,21 @@ <para> Ez a függvény a <parameter>number</parameter> paraméterben megadott fokokat radiánba váltja át. + </para> + <para> + <example> + <title><function>deg2rad</function> példa</title> + <programlisting role="php"> +<![CDATA[ +<?php + +echo deg2rad(45); // 0.785398163397 +var_dump(deg2rad(45) === M_PI_4); // bool(true) + +?> +]]> + </programlisting> + </example> </para> <para> Lásd még: <function>rad2deg</function>!

« previous php.doc.hu (#771) next »