---
title: ByteCountFormatter.CountStyle.decimal
framework: foundation
role: symbol
role_heading: Case
path: foundation/bytecountformatter/countstyle-swift.enum/decimal
---

# ByteCountFormatter.CountStyle.decimal

Causes 1000 bytes to be shown as 1 KB. It is better to use ByteCountFormatter.CountStyle.file or ByteCountFormatter.CountStyle.memory in most cases.

## Declaration

```swift
case decimal
```

## See Also

### Constants

- [ByteCountFormatter.CountStyle.file](foundation/bytecountformatter/countstyle-swift.enum/file.md)
- [ByteCountFormatter.CountStyle.memory](foundation/bytecountformatter/countstyle-swift.enum/memory.md)
- [ByteCountFormatter.CountStyle.binary](foundation/bytecountformatter/countstyle-swift.enum/binary.md)
