svn: /phpdoc/fa/trunk/reference/bc/functions/ bcsub.xml

From: Date: Tue, 16 Mar 2010 20:53:03 +0000
Subject: svn: /phpdoc/fa/trunk/reference/bc/functions/ bcsub.xml
Groups: php.doc.fa 
Request: Send a blank email to doc-fa+get-160@lists.php.net to get a copy of this message
psalehpoor Tue, 16 Mar 2010 20:53:03 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296300 Log: translated to persian Changed paths: A phpdoc/fa/trunk/reference/bc/functions/bcsub.xml Added: phpdoc/fa/trunk/reference/bc/functions/bcsub.xml =================================================================== --- phpdoc/fa/trunk/reference/bc/functions/bcsub.xml (rev 0) +++ phpdoc/fa/trunk/reference/bc/functions/bcsub.xml 2010-03-16 20:53:03 UTC (rev 296300) @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 288721 Maintainer: pedram Status: ready --> +<!-- Reviewed: yes --> +<refentry xml:id="function.bcsub" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>bcsub</refname> + <refpurpose>تفریق عدد با دقت دلخواه از عدد دیگر</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcsub</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + تفریق <parameter>right_operand</parameter> از + <parameter>left_operand</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>left_operand</parameter></term> + <listitem> + <para> + عملگر چپ به عنوان یک رشته. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>right_operand</parameter></term> + <listitem> + <para> + عملوند سمت راست به عنوان یک رشته. + </para> + </listitem> + </varlistentry> + &bc.scale.description; + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + نتیجه تفریق به عنوان یک رشته. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <example> + <title>مثال <function>bcsub</function></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> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>bcadd</function></member> + </simplelist> + </para> + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Property changes on: phpdoc/fa/trunk/reference/bc/functions/bcsub.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native

« previous php.doc.fa (#160) next »