<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/padding-positions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Padding Positions"
}
-->

# Padding Positions

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

## Topics

### Constants

[`case beforePrefix`](/documentation/CoreFoundation/CFNumberFormatterPadPosition/beforePrefix)

Specifies the number of padding characters before the prefix.

[`case afterPrefix`](/documentation/CoreFoundation/CFNumberFormatterPadPosition/afterPrefix)

Specifies the number of padding characters after the prefix.

[`case beforeSuffix`](/documentation/CoreFoundation/CFNumberFormatterPadPosition/beforeSuffix)

Specifies the number of padding characters before the suffix.

[`case afterSuffix`](/documentation/CoreFoundation/CFNumberFormatterPadPosition/afterSuffix)

Specifies the number of padding characters after the suffix.



---

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)