mirror of
https://github.com/php/doc-it.git
synced 2026-03-27 00:52:07 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@78500 c90b9560-bf6c-de11-be94-00142212c4b1
59 lines
2.0 KiB
XML
59 lines
2.0 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- splitted from ./it/functions/math.xml, last change in rev 1.1 -->
|
|
<!-- last change to 'max' in en/ tree in rev 1.2 -->
|
|
<!-- EN-Revision: 1.2 Maintainer: cortesi Status: ready -->
|
|
<!-- OLD-Revision: 1.78/EN.1.2 -->
|
|
<refentry id="function.max">
|
|
<refnamediv>
|
|
<refname>max</refname>
|
|
<refpurpose>Trova il valore massimo</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>max</methodname>
|
|
<methodparam><type>mixed</type><parameter>arg1</parameter></methodparam>
|
|
<methodparam><type>mixed</type><parameter>arg2</parameter></methodparam>
|
|
<methodparam><type>mixed</type><parameter>argn</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>max</function> restituisce il numericamente più grande dei
|
|
valori dati come parametro.
|
|
</para>
|
|
<para>
|
|
Se il primo parametro è un array, <function>max</function>
|
|
restituisce il massimo dei valori di tale array. Se il primo parametro
|
|
è un integer, string o double, si ha bisogno almeno di due parametri
|
|
e <function>max</function> restituisce il maggiore di tali valori.
|
|
Si può confrontare un numero illimitato di valori.
|
|
</para>
|
|
<para>
|
|
Se uno o più valori sono float, tutti i valori saranno
|
|
considerati come float, e verrà restituito un float. Se nessuno dei
|
|
valori è double, tutti verranno considerati come integer, e
|
|
verrà restituito un integer.
|
|
</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:"../../../../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
|
|
-->
|