aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/functions/floor/index.md
blob: 672327f67d816f135fb08f3c0a5b693fc0e941f9 (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
---
title: floor
slug: Web/XPath/Functions/floor
tags:
  - Fonction
  - Reference
  - Référence_XSLT
  - XPath
  - XSLT
translation_of: Web/XPath/Functions/floor
original_slug: Web/XPath/Fonctions/floor
---
{{ XsltRef() }}

La fonction `floor` évalue un nombre décimal et retourne le plus grand nombre entier inférieur ou égal au nombre évalué.

### Syntaxe

    floor(nombre )

### Arguments

- `nombre`
  - : Le nombre décimal à évaluer.

### Retour

Le plus grand nombre entier inférieur ou égal à `nombre`.

### Définition

[XPath 1.0, section 4.4](http://www.w3.org/TR/xpath#function-floor).

### Support Gecko

Supportée.