cvs: phpdoc-zh /reference/math/functions abs.xml

From: Date: Sat, 21 Sep 2002 08:14:19 +0000
Subject: cvs: phpdoc-zh /reference/math/functions abs.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-627@lists.php.net to get a copy of this message
yincheng Sat Sep 21 04:14:19 2002 EDT Added files: /phpdoc-zh/reference/math/functions abs.xml Log: ok Index: phpdoc-zh/reference/math/functions/abs.xml +++ phpdoc-zh/reference/math/functions/abs.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- $Author: yincheng $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.abs"> <refnamediv> <refname>abs</refname> <refpurpose>¾ø¶ÔÖµ</refpurpose> </refnamediv> <refsect1> <title>ÃèÊö</title> <methodsynopsis> <type>mixed</type><methodname>abs</methodname> <methodparam><type>mixed</type><parameter>number</parameter></methodparam> </methodsynopsis> <para> ·µ»Ø²ÎÊý <parameter>number</parameter> µÄ¾ø¶ÔÖµ¡£Èç¹û²ÎÊý <parameter>number</parameter> ÊÇ<type>¸¡µãÐÍ</type>£¬Ôò·µ»ØµÄÀàÐÍÒ²ÊÇ<type>¸¡µãÐÍ</type>£¬·ñÔò·µ»Ø<type>ÕûÐÍ</type> (ÒòΪ <type>¸¡µãÐÍfloat</type> ͨ³£±È<type>ÕûÐÍ</type>Óиü´óµÄȡֵ·¶Î§)¡£ </para> <example> <title><function>abs</function> </title> <programlisting role="php"> <![CDATA[ $abs = abs(-4.2); // $abs = 4.2; (double/float) $abs2 = abs(5); // $abs2 = 5; (integer) $abs3 = abs(-5); // $abs3 = 5; (integer) ]]> </programlisting> </example> </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:"../../../../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 -->

« previous php.doc.zh (#627) next »