cvs: phpdoc-zh /reference/var/functions floatval.xml
| From: | Krazy Nio | Date: | Fri, 25 Apr 2003 15:26:20 +0000 |
| Subject: | cvs: phpdoc-zh /reference/var/functions floatval.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1389@lists.php.net to get a copy of this message | ||
nio Fri Apr 25 11:26:20 2003 EDT
Added files:
/phpdoc-zh/reference/var/functions floatval.xml
Log:
Add file
Index: phpdoc-zh/reference/var/functions/floatval.xml
+++ phpdoc-zh/reference/var/functions/floatval.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: nio $ -->
<!-- EN-Revision: 1.2 Maintainer: nio Status: ready -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.66 -->
<refentry id="function.floatval">
<refnamediv>
<refname>floatval</refname>
<refpurpose>»ñÈ¡±äÁ¿µÄ¸¡µãÖµ</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>float</type><methodname>floatval</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
</methodsynopsis>
<simpara>
·µ»Ø±äÁ¿ <parameter>var</parameter>
µÄ<type>¸¡µãÐÍ</type>ÊýÖµ¡£
</simpara>
<para>
<parameter>var</parameter> ¿ÉÒÔÊÇÈκαêÁ¿ÀàÐÍ¡£Äã²»Äܽ«
<function>floatval</function> ÓÃÓÚÊý×é»ò¶ÔÏó¡£
<informalexample>
<programlisting role="php">
<![CDATA[
$var = '122.34343The';
$float_value_of_var = floatval ($var);
print $float_value_of_var; // ´òÓ¡³ö 122.34343
]]>
</programlisting>
</informalexample>
</para>
<simpara>
²Î¼û
<function>intval</function>¡¢<function>strval</function>¡¢<function>settype</function>
ºÍ
<link linkend="language.types.type-juggling">ÀàÐÍÏ··¨</link>¡£
</simpara>
</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
-->