|
NumberFormatter::getPatternnumfmt_get_patternGet formatter pattern DescriptionObject oriented style
public
string
NumberFormatter::getPattern
( void
)
Procedural style
string
numfmt_get_pattern
( NumberFormatter
$fmt
)Extract pattern used by the formatter. Parameters
Return Values
Pattern string that is used by the formatter, or ExamplesExample #1 numfmt_get_pattern example
<?php Example #2 OO example
<?php The above example will output: Pattern: #,##0.### 1.234.567,891 Pattern: #0.# kg 1234567,9 kg See Also
|