<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NumberFormatter/PadPosition",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSNumberFormatterPadPosition"
  },
  "title" : "NumberFormatter.PadPosition"
}
-->

# NumberFormatter.PadPosition

These constants are used to specify how numbers should be padded. These constants are used by the [`paddingPosition`](/documentation/Foundation/NumberFormatter/paddingPosition) property.

```
enum PadPosition
```

## Topics

### Constants

[`NSNumberFormatterPadBeforePrefix`](/documentation/Foundation/NumberFormatter/PadPosition/beforePrefix)

Specifies that the padding should occur before the prefix.

[`NSNumberFormatterPadAfterPrefix`](/documentation/Foundation/NumberFormatter/PadPosition/afterPrefix)

Specifies that the padding should occur after the prefix.

[`NSNumberFormatterPadBeforeSuffix`](/documentation/Foundation/NumberFormatter/PadPosition/beforeSuffix)

Specifies that the padding should occur before the suffix.

[`NSNumberFormatterPadAfterSuffix`](/documentation/Foundation/NumberFormatter/PadPosition/afterSuffix)

Specifies that the padding should occur after the suffix.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)