---
title: allowedUnits
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/measurement/formatstyle/bytecount/allowedunits
---

# allowedUnits

The units the format style can use to express the byte count.

## Declaration

```swift
var allowedUnits: Measurement<UnitInformationStorage>.FormatStyle.ByteCount.Units
```

## See Also

### Accessing style properties

- [Measurement.FormatStyle.ByteCount.Units](foundation/measurement/formatstyle/bytecount/units.md)
- [spellsOutZero](foundation/measurement/formatstyle/bytecount/spellsoutzero.md)
- [includesActualByteCount](foundation/measurement/formatstyle/bytecount/includesactualbytecount.md)
- [style](foundation/measurement/formatstyle/bytecount/style-swift.property.md)
- [Measurement.FormatStyle.ByteCount.Style](foundation/measurement/formatstyle/bytecount/style-swift.typealias.md)
- [locale](foundation/measurement/formatstyle/bytecount/locale.md)
