---
title: number
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/parseableformatstyle/number
---

# number

A style for formatting decimal values.

## Declaration

```swift
static var number: Decimal.FormatStyle { get }
```

## Discussion

Discussion Use this type property when the call point allows the use of Decimal.FormatStyle. You typically do this when calling the formatted(_:) method of Decimal.
