<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/number_format_options",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Number Format Options"
}
-->

# Number Format Options

These constants are used to specify how numbers should be parsed.

## Topics

### Constants

[`static var parseIntegersOnly: CFNumberFormatterOptionFlags`](/documentation/CoreFoundation/CFNumberFormatterOptionFlags/parseIntegersOnly)

Specifies that only integers should be parsed.



---

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)