aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/functions/ceiling/index.md
blob: 5810c1b60d9ace1fba8348cefcf179fd2616056b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
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.