---
title: includesActualByteCount
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bytecountformatter/includesactualbytecount
---

# includesActualByteCount

Determines whether to include the number of bytes after the formatted string.

## Declaration

```swift
var includesActualByteCount: Bool { get set }
```

## Discussion

Discussion Setting this value to true causes the byte count to be displayed parenthetically (localized as appropriate), for instance 723 KB (722,842 bytes).  This will happen only if needed, that is, the first part is already not showing the exact byte count. If includesUnit or includesCount are false, then this setting has no effect. Default value is false.

## See Also

### Setting Formatting Styles

- [formattingContext](foundation/bytecountformatter/formattingcontext.md)
- [countStyle](foundation/bytecountformatter/countstyle-swift.property.md)
- [allowsNonnumericFormatting](foundation/bytecountformatter/allowsnonnumericformatting.md)
- [isAdaptive](foundation/bytecountformatter/isadaptive.md)
- [allowedUnits](foundation/bytecountformatter/allowedunits.md)
- [includesCount](foundation/bytecountformatter/includescount.md)
- [includesUnit](foundation/bytecountformatter/includesunit.md)
- [zeroPadsFractionDigits](foundation/bytecountformatter/zeropadsfractiondigits.md)
