diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-11-11 09:00:12 +0100 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-11-11 09:11:37 +0100 |
| commit | ea0377b93b3d290053fda7115929930b8c8d4d25 (patch) | |
| tree | b5915b686269d7b0dc4e7b690bb2c64f2e637697 /files/fr/web/xpath/functions/round | |
| parent | 651ec72d5f391987b970601ab532a2d303b44916 (diff) | |
| download | translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.tar.gz translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.tar.bz2 translated-content-ea0377b93b3d290053fda7115929930b8c8d4d25.zip | |
convert content to md
Diffstat (limited to 'files/fr/web/xpath/functions/round')
| -rw-r--r-- | files/fr/web/xpath/functions/round/index.md | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/files/fr/web/xpath/functions/round/index.md b/files/fr/web/xpath/functions/round/index.md index bca80c65dd..d711589de7 100644 --- a/files/fr/web/xpath/functions/round/index.md +++ b/files/fr/web/xpath/functions/round/index.md @@ -6,27 +6,31 @@ tags: translation_of: Web/XPath/Functions/round original_slug: Web/XPath/Fonctions/round --- -<p> {{ XsltRef() }} -</p><p><br> -La fonction <code>round</code> retourne le nombre entier le plus proche d'un nombre donné. -</p> -<h3 id="Syntaxe">Syntaxe </h3> -<pre class="eval">round( <i>décimal</i> ) -</pre> -<h3 id="Arguments"> Arguments </h3> -<dl><dt><code><i>décimal</i></code> -</dt><dd>Le nombre décimal à arrondir. -</dd></dl> -<h3 id="Retour"> Retour </h3> -<p>Le plus proche nombre entier, qu'il soit plus grand, plus petit ou égal à <code><i>decimal</i></code>. -</p> -<h3 id="Notes"> Notes </h3> -<ul><li> -0.5 est arrondi à zéro négatif. 0.4 est arrondi à zéro positif. -</li></ul> -<h3 id="D.C3.A9finition"> Définition </h3> -<p><a href="http://www.w3.org/TR/xpath#function-round">XPath 1.0, section 4.4</a>. -</p> -<h3 id="Support_Gecko"> Support Gecko </h3> -<p>Supportée. -</p>
\ No newline at end of file + +La fonction `round` retourne le nombre entier le plus proche d'un nombre donné. + +### Syntaxe + + round( décimal ) + +### Arguments + +- `décimal` + - : Le nombre décimal à arrondir. + +### Retour + +Le plus proche nombre entier, qu'il soit plus grand, plus petit ou égal à `decimal`. + +### Notes + +- \-0.5 est arrondi à zéro négatif. 0.4 est arrondi à zéro positif. + +### Définition + +[XPath 1.0, section 4.4](http://www.w3.org/TR/xpath#function-round). + +### Support Gecko + +Supportée. |
