<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/FoundationAttributes/NumberFormatAttributes",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO0A10AttributesV012NumberFormatD0V"
  },
  "title" : "AttributeScopes.FoundationAttributes.NumberFormatAttributes"
}
-->

# AttributeScopes.FoundationAttributes.NumberFormatAttributes

A type for using a number format as an attribute.

```
struct NumberFormatAttributes
```

## Topics

### Instance Properties

[`let numberPart: AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute`](/documentation/Foundation/AttributeScopes/FoundationAttributes/NumberFormatAttributes/numberPart)

[`let numberSymbol: AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute`](/documentation/Foundation/AttributeScopes/FoundationAttributes/NumberFormatAttributes/numberSymbol)

### Enumerations

[`enum NumberPartAttribute`](/documentation/Foundation/AttributeScopes/FoundationAttributes/NumberFormatAttributes/NumberPartAttribute)

[`enum SymbolAttribute`](/documentation/Foundation/AttributeScopes/FoundationAttributes/NumberFormatAttributes/SymbolAttribute)

## Relationships

### Conforms To

[`EncodingConfigurationProviding`](/documentation/Foundation/EncodingConfigurationProviding)

[`DecodingConfigurationProviding`](/documentation/Foundation/DecodingConfigurationProviding)

[`AttributeScope`](/documentation/Foundation/AttributeScope)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)