---
title: AttributeScopes.FoundationAttributes.NumberFormatAttributes
framework: foundation
role: symbol
role_heading: Structure
path: foundation/attributescopes/foundationattributes/numberformatattributes
---

# AttributeScopes.FoundationAttributes.NumberFormatAttributes

A type for using a number format as an attribute.

## Declaration

```swift
struct NumberFormatAttributes
```

## Topics

### Instance Properties

- [numberPart](foundation/attributescopes/foundationattributes/numberformatattributes/numberpart.md)
- [numberSymbol](foundation/attributescopes/foundationattributes/numberformatattributes/numbersymbol.md)

### Enumerations

- [AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute](foundation/attributescopes/foundationattributes/numberformatattributes/numberpartattribute.md)
- [AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute](foundation/attributescopes/foundationattributes/numberformatattributes/symbolattribute.md)

## Relationships

### Conforms To

- [AttributeScope](foundation/attributescope.md)
- [DecodingConfigurationProviding](foundation/decodingconfigurationproviding.md)
- [EncodingConfigurationProviding](foundation/encodingconfigurationproviding.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using number formatting attributes

- [numberFormat](foundation/attributescopes/foundationattributes/numberformat.md)
