<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/numberMode",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSSpeechNumberModeProperty"
  },
  "title" : "numberMode"
}
-->

# numberMode

Get or set the synthesizer’s current number-processing mode.

```
static let numberMode: NSSpeechSynthesizer.SpeechPropertyKey
```

## Discussion

An <doc://com.apple.documentation/documentation/Foundation/NSString> object that specifies whether the synthesizer is currently in normal or literal number-processing mode. The supported values are listed in [`NSSpeechSynthesizer.SpeechPropertyKey.Mode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode).

When the number-processing mode is [`normal`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/normal), the synthesizer assembles digits into numbers (so that “12” is spoken as “twelve”). When the mode is [`literal`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/literal), each digit is spoken literally (so that “12” is spoken as “one, two”).

This property is used with [`setObject(_:forProperty:)`](/documentation/AppKit/NSSpeechSynthesizer/setObject(_:forProperty:)) and [`object(forProperty:)`](/documentation/AppKit/NSSpeechSynthesizer/object(forProperty:)).

---

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)