--- title: round slug: Web/XPath/Functions/round tags: - Référence_XSLT translation_of: Web/XPath/Functions/round original_slug: Web/XPath/Fonctions/round --- {{ XsltRef() }} 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.