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

From: Date: Sat, 01 May 2004 22:31:44 +0000
Subject: cvs: phpdoc-hu /reference/bc/functions bcsub.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-616@lists.php.net to get a copy of this message
cece Sat May 1 18:31:44 2004 EDT Modified files: /phpdoc-hu/reference/bc/functions bcsub.xml Log: sync with EN revision http://cvs.php.net/diff.php/phpdoc-hu/reference/bc/functions/bcsub.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/bc/functions/bcsub.xml diff -u phpdoc-hu/reference/bc/functions/bcsub.xml:1.2 phpdoc-hu/reference/bc/functions/bcsub.xml:1.3 --- phpdoc-hu/reference/bc/functions/bcsub.xml:1.2 Wed Apr 17 02:57:49 2002 +++ phpdoc-hu/reference/bc/functions/bcsub.xml Sat May 1 18:31:44 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 'bcsub' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: goba Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: goba Status: ready --> <!-- OLD-Revision: 1.24/EN.1.2 --> <refentry id="function.bcsub"> <refnamediv> @@ -25,6 +25,24 @@ paraméter beállítja az eredményben a tizedes pont utáni számjegyek számát. </para> <para> + <example> + <title><function>bcsub</function> példa</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$a = 1.234; +$b = 5; + +echo bcsub($a, $b); // -3 +echo bcsub($a, $b, 4); // -3.7660 + +?> +]]> + </programlisting> + </example> + </para> + <para> Lásd még: <function>bcadd</function>! </para> </refsect1>

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