<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Unicode/NumericType/digit",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s7UnicodeO11NumericTypeO5digityA2DmF"
  },
  "title" : "Unicode.NumericType.digit"
}
-->

# Unicode.NumericType.digit

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

```
case digit
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)