---
title: allowsNonnumericFormatting
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bytecountformatter/allowsnonnumericformatting
---

# allowsNonnumericFormatting

Determines whether to allow more natural display of some values.

## Declaration

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

## Discussion

Discussion Displays a more natural display of some values, such as zero, where it may be displayed as Zero KB, ignoring all other flags or options (with the exception of useBytes, which would generate Zero bytes).The result is appropriate for standalone output. Special handling of certain values such as zero is especially important in some languages, so it’s highly recommended that this property be left in its default state. Default value is true.

## See Also

### Setting Formatting Styles

- [formattingContext](foundation/bytecountformatter/formattingcontext.md)
- [countStyle](foundation/bytecountformatter/countstyle-swift.property.md)
- [includesActualByteCount](foundation/bytecountformatter/includesactualbytecount.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)
