---
title: Unicode.NumericType.digit
framework: swift
role: symbol
role_heading: Case
path: swift/unicode/numerictype/digit
---

# Unicode.NumericType.digit

A digit that does not meet the requirements of the decimal numeric type.

## Declaration

```swift
case digit
```

## Discussion

Discussion Scalars with this numeric type are often those that represent a decimal digit but would not typically be used to write a base-10 number, such as “④” (U+2463 CIRCLED DIGIT FOUR). As of Unicode 6.3, any new scalars that represent numbers but do not meet the requirements of decimal will have numeric type numeric, and programs can treat digit and numeric equivalently.
