cvs: phpdoc-ro /reference/var/functions floatval.xml

From: Date: Tue, 29 Apr 2008 09:26:44 +0000
Subject: cvs: phpdoc-ro /reference/var/functions floatval.xml
Groups: php.doc.ro 
Request: Send a blank email to doc-ro+get-416@lists.php.net to get a copy of this message
simionea Tue Apr 29 09:26:44 2008 UTC Modified files: /phpdoc-ro/reference/var/functions floatval.xml Log: Updated the file. http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/floatval.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ro/reference/var/functions/floatval.xml diff -u phpdoc-ro/reference/var/functions/floatval.xml:1.3 phpdoc-ro/reference/var/functions/floatval.xml:1.4 --- phpdoc-ro/reference/var/functions/floatval.xml:1.3 Tue Sep 18 14:05:18 2007 +++ phpdoc-ro/reference/var/functions/floatval.xml Tue Apr 29 09:26:44 2008 @@ -1,45 +1,73 @@ -<?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated --> -<!-- splitted from ./ro/functions/var.xml, last change in rev 1.1 --> -<!-- last change to 'floatval' in en/ tree in rev 1.66 --> - <refentry xml:id="function.floatval" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>floatval</refname> - <refpurpose>Returneazã valoarea de tip float a unei variabile</refpurpose> - </refnamediv> - <refsect1> - <title>Descriere</title> - <methodsynopsis> - <type>float</type><methodname>floatval</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <simpara> - Returneazã valoarea de tip <type>float</type> a parametrului <parameter>var</parameter>. - </simpara> - <para> - <parameter>var</parameter> poate sã fie orice tip scalar. Nu se poate folosi - <function>floatval</function> pe tablouri (<type>array</type>) - sau obiecte (<type>object</type>). - <informalexample> - <programlisting role="php"> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: simionea Status: translated --> +<!-- CREDITS: adiju --> +<refentry xml:id="function.floatval" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>floatval</refname> + <refpurpose>ObÅ£ine valoarea float a unei variabile</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>floatval</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + ObÅ£ine valoarea <type>float</type> a <parameter>var</parameter>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + Poate fi orice tip scalar. Nu puteÅ£i utiliza <function>floatval</function> + cu masive sau obiecte. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Valoarea float a variabilei date. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemplu <function>floatval</function></title> + <programlisting role="php"> <![CDATA[ <?php -$var = '122.34343Gigi'; -$float_value_of_var = floatval ($var); -print $float_value_of_var; // afiºeazã 122.34343 +$var = '122.34343The'; +$float_value_of_var = floatval($var); +echo $float_value_of_var; // 122.34343 ?> ]]> - </programlisting> - </informalexample> - </para> - <simpara> - Mai consultaþi <function>intval</function>, - <function>strval</function>, <function>settype</function> ºi - <link linkend="language.types.type-juggling">Tipuri - de date</link>. - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>intval</function></member> + <member><function>strval</function></member> + <member><function>settype</function></member> + <member><link linkend="language.types.type-juggling">Manipularea tipurilor</link></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.ro (#416) next »