|
NumberFormatter::setPatternnumfmt_set_patternSet formatter pattern DescriptionObject-oriented style
public bool NumberFormatter::setPattern(string
$pattern )Procedural style bool numfmt_set_pattern(NumberFormatter
$formatter , string $pattern )Set the pattern used by the formatter. Can not be used on a rule-based formatter. Parameters
Return Values
Returns ExamplesExample #1 numfmt_set_pattern example
Example #2 OO example
The above example will output: Pattern: #,##0.### 1.234.567,891 Pattern: #0.# kg 1234567,9 kg See Also
|