--- title: "format number()" slug: "string-format-number" updated: 2025-11-13T12:59:50Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-format-number" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # format number() Diese Funktion wandelt einen numerischen Wert **a** um in einen String mithilfe der Format-Vorlage **b** und der optionalen Locale **c**. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Numerischer Wert. | | b | Format-Vorlage (Java-Text-Format). | | c | (optional) Locale. Default: en_US. **Hinweis:** Verwenden Sie zur Auswahl eines Wertes die drei Punkte. | ## Beispiele | Parameter a | Parameter b | Parameter c | Ergebnis | | --- | --- | --- | --- | | 1 | #.000 | | 1.000 | | 1 | #.000 | en_US | 1.000 | | 1 | #.000 | de_DE | 1,000 | | 1234 | #,###.00 | | 1,234.00 | | 1234 | #,###.00 | de_DE | 1.234,00 |