(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Set an attribute
public bool NumberFormatter::setAttribute ( int $attr, int $value )
Object oriented style
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.
Paramet