| 
 | NumberFormatter::setAttributenumfmt_set_attributeSet an attribute DescriptionObject oriented style 
   public
   bool
    NumberFormatter::setAttribute
    ( int  $attr, int$value)Procedural style 
   bool
    numfmt_set_attribute
    ( NumberFormatter  $fmt, int$attr, int$value)Set a numeric attribute associated with the formatter. An example of a numeric attribute is the number of integer digits the formatter will produce. Parameters
 
 Return Values
   Returns  ExamplesExample #1 numfmt_set_attribute example 
<?phpExample #2 OO example 
<?phpThe above example will output: Digits: 3 1.234.567,891 Digits: 2 1.234.567,89 See Also
 
 |