cvs: phpdoc-hu /reference/bc/functions bcscale.xml

From: Date: Sat, 01 May 2004 22:38:00 +0000
Subject: cvs: phpdoc-hu /reference/bc/functions bcscale.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-617@lists.php.net to get a copy of this message
cece Sat May 1 18:38:00 2004 EDT Modified files: /phpdoc-hu/reference/bc/functions bcscale.xml Log: sync with EN revision http://cvs.php.net/diff.php/phpdoc-hu/reference/bc/functions/bcscale.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/bc/functions/bcscale.xml diff -u phpdoc-hu/reference/bc/functions/bcscale.xml:1.2 phpdoc-hu/reference/bc/functions/bcscale.xml:1.3 --- phpdoc-hu/reference/bc/functions/bcscale.xml:1.2 Wed Apr 17 02:57:49 2002 +++ phpdoc-hu/reference/bc/functions/bcscale.xml Sat May 1 18:38:00 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/bc.xml, last change in rev 1.1 --> <!-- last change to 'bcscale' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: goba Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: goba Status: ready --> <!-- OLD-Revision: 1.24/EN.1.2 --> <refentry id="function.bcscale"> <refnamediv> @@ -13,13 +13,33 @@ <refsect1> <title>Leírás</title> <methodsynopsis> - <type>string</type><methodname>bcscale</methodname> + <type>bool</type><methodname>bcscale</methodname> <methodparam><type>int</type><parameter>scale</parameter></methodparam> </methodsynopsis> <para> Ez a függvény beállítja a skálázási értékét minden bc matematikai függvény részére, így nem kell mindig explicit módon megadni a <parameter>scale</parameter> paramétert, csak ha szükséges. + &return.success; + </para> + <para> + <example> + <title><function>bcscale</function> példa</title> + <programlisting role="php"> +<![CDATA[ +<?php + +// alapértelmezett skálázás : 3 +bcscale(3); +echo bcdiv(105, 6.55957); // 16.007 + +// ugyenez bcscale() nélkül így nézne ki: +echo bcdiv(105, 6.55957, 3); // 16.007 + +?> +]]> + </programlisting> + </example> </para> </refsect1> </refentry>

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