Symfony\Component\Intl\NumberFormatter\NumberFormatter::normalizeGroupingUsedValue
Returns the normalized value for the GROUPING_USED attribute. Any value that can be converted to int will be cast to Boolean and then to int again. This way, negative values are converted to 1 and string values to 0.
Signature
private function normalizeGroupingUsedValue(mixed
$value )
Parameters
$value
— mixed- The value to be normalized
Returns
- int
- The normalized value for the attribute (0 or 1)