bool setAttribute(int $attr, int $value)
Set an attribute.
bool setAttribute(int $attr, int $value)
Set an attribute.
int | $attr | An attribute specifier, one of the numeric attribute constants The only currently supported attributes are NumberFormatter::FRACTIONDIGITS, NumberFormatter::GROUPINGUSED and NumberFormatter::ROUNDING_MODE. |
int | $value | The attribute value |
bool | true on success or false on failure |
MethodArgumentValueNotImplementedException | When the $attr is not supported |
MethodArgumentValueNotImplementedException | When the $value is not supported |
http://www.php.net/manual/en/numberformatter.setattribute.php |
Designed by : w10schools
service@w10schools.com
Please login to continue.