Search Results
Get formatter pattern
Description Object oriented style publicstringNumberFormatter::getPattern ( void ) Procedural style stringnumfmt_get_pattern ( NumberFormatter $fmt )
Obtenez une soumission gratuite Appelez-nous au (418) 914-3784 Paiement par virement bancaire Docs PHP Classe NumberFormatter getPattern
Simple usage example of `NumberFormatter::getPattern ()`. The NumberFormatter::getPattern function is a PHP function used to retrieve the formatting pattern used by a NumberFormatter object. This pattern represents the format for displaying numbers in a specific locale, including the decimal separator, grouping separator, and other formatting rules.
Mar 15, 2026 · By invoking the methods provided by the NumberFormatter class, you can format numbers, currencies, and percentages according to the specified or default locale. NumberFormatter is locale-sensitive so you need to create a new NumberFormatter for each locale. NumberFormatter methods format primitive-type numbers, such as double and output the number as a locale-specific string.
Man page for numberformatter(3) on php, from the unix.com online archive.
Return Values Pattern string that is used by the formatter, or false if an error happens.
