From 39f2114f9797eb51994966c6bb8ff1814c9a4da8 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 12:36:08 +0100 Subject: unslug fr: move --- .../web/xpath/functions/format-number/index.html | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 files/fr/web/xpath/functions/format-number/index.html (limited to 'files/fr/web/xpath/functions/format-number') diff --git a/files/fr/web/xpath/functions/format-number/index.html b/files/fr/web/xpath/functions/format-number/index.html new file mode 100644 index 0000000000..a9027215bc --- /dev/null +++ b/files/fr/web/xpath/functions/format-number/index.html @@ -0,0 +1,38 @@ +--- +title: format-number +slug: Web/XPath/Fonctions/format-number +tags: + - Référence_XSLT +translation_of: Web/XPath/Functions/format-number +--- +

+{{ XsltRef() }} +


+La fonction format-number évalue un nombre et retourne une chaîne représentant le nombre dans un format donné. +

+

Syntaxe

+
format-number( nombre , motif [, format-décimal] )
+
+

Arguments

+
nombre +
Le nombre à formater. +
+
motif +
Une chaîne au format de la classe Decimal Format (en) du JDK 1.1. La notice du JDK 1.1 n'est plus disponible. Vous trouverez ici la notice pour le JSE 6: Decimal Format (en) +
+
format-décimal (optionnel) +
Le nom d'un élément xsl:decimal-format qui définit le format de nombre à utiliser. Si il est omis, le format décimal par défaut est utilisé. +
+

Retour

+

Une chaîne représentant le nombre dans le nouveau format. +

+

Notes

+

Cette fonction est un ajout à XPath spécifique à XSLT. Elle ne fait pas partie de la bibliothèque de fonctions XPath principale. +

+

Définition

+

XSLT 1.0, section 12.3. +

+

Support Gecko

+

Supportée. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Functions/format-number", "pl": "pl/XPath/Funkcje/format-number" } ) }} -- cgit v1.2.3-54-g00ecf