---
title: useKB
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/bytecountformatter/units/usekb
---

# useKB

Displays kilobytes in the formatter content.

## Declaration

```swift
static var useKB: ByteCountFormatter.Units { get }
```

## See Also

### Constants

- [useBytes](foundation/bytecountformatter/units/usebytes.md)
- [useMB](foundation/bytecountformatter/units/usemb.md)
- [useGB](foundation/bytecountformatter/units/usegb.md)
- [useTB](foundation/bytecountformatter/units/usetb.md)
- [usePB](foundation/bytecountformatter/units/usepb.md)
- [useEB](foundation/bytecountformatter/units/useeb.md)
- [useZB](foundation/bytecountformatter/units/usezb.md)
- [useYBOrHigher](foundation/bytecountformatter/units/useyborhigher.md)
- [useAll](foundation/bytecountformatter/units/useall.md)
