---
title: secondaryGroupingSize
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/numberformatter/secondarygroupingsize
---

# secondaryGroupingSize

The secondary grouping size of the receiver.

## Declaration

```swift
var secondaryGroupingSize: Int { get set }
```

## Discussion

Discussion Some locales allow the specification of another grouping size for larger numbers. For example, some locales may represent a number such as 61, 242, 378.46 (as in the United States) as 6,12,42,378.46. In this case, the secondary grouping size (covering the groups of digits furthest from the decimal point) is 2.

## See Also

### Configuring Separators and Grouping Size

- [groupingSeparator](foundation/numberformatter/groupingseparator.md)
- [usesGroupingSeparator](foundation/numberformatter/usesgroupingseparator.md)
- [thousandSeparator](foundation/numberformatter/thousandseparator.md)
- [hasThousandSeparators](foundation/numberformatter/hasthousandseparators.md)
- [decimalSeparator](foundation/numberformatter/decimalseparator.md)
- [alwaysShowsDecimalSeparator](foundation/numberformatter/alwaysshowsdecimalseparator.md)
- [currencyDecimalSeparator](foundation/numberformatter/currencydecimalseparator.md)
- [groupingSize](foundation/numberformatter/groupingsize.md)
