<?xml version="1.0" encoding="UTF-8"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="round" xml:lang="fr">
    <refnamediv>
        <refname>round</refname>
        <refpurpose>Arrondi à l'entier le plus proche</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Séquence d'appel</title>
        <synopsis>y=round(x)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Paramètres</title>
        <variablelist>
            <varlistentry>
                <term>x</term>
                <listitem>
                    <para>matrice réelle ou complexe</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>y</term>
                <listitem>
                    <para>matrice entière (ou complexe avec parties réelle et imaginaire entières)</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
            <literal>round(x)</literal> arrondit les éléments de
            <literal>x</literal> aux entiers les plus proches.
        </para>
    </refsection>
    <refsection>
        <title>Exemples</title>
        <programlisting role="example"><![CDATA[
round([1.3 1.5 1.7 2.5 3.7])
// Remarquez le résultat pour x négatif
round([-1.3 -1.5 -1.7 -2.5 -3.7])
round([2.2+%i*23, %pi*%i, -%i ])
 ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>Voir aussi</title>
        <simplelist type="inline">
            <member>
                <link linkend="int">int</link>
            </member>
            <member>
                <link linkend="floor">floor</link>
            </member>
            <member>
                <link linkend="ceil">ceil</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
