--- title: ceiling slug: Web/XPath/Functions/ceiling tags: - Référence_XSLT translation_of: Web/XPath/Functions/ceiling original_slug: Web/XPath/Fonctions/ceiling --- {{ XsltRef() }} La fonction `ceiling` évalue un nombre décimal et retourne le plus petit nombre entier supérieur ou égal au nombre évalué. ### Syntaxe ceiling( nombre ) ### Arguments - `nombre` - : Le nombre décimal à évaluer. ### Retour Le plus petit entier supérieur ou égal à `nombre`. Par exemple : ceiling (5.2) = 6 ceiling (-5.2) = -5 ### Définition [XPath 1.0, section 4.4](http://www.w3.org/TR/xpath#function-ceiling). ### Support Gecko Supportée.