---
title: "format(_:)"
framework: storekit
role: symbol
role_heading: Instance Method
path: "storekit/product/subscriptionperiod/unit-swift.enum/formatstyle/format(_:)"
---

# format(_:)

## Declaration

```swift
func format(_ value: Product.SubscriptionPeriod.Unit) -> String
```
