---
title: number
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/formatstyle/number-3luf2
---

# 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.

## See Also

### Applying numeric styles for decimals

- [Decimal.FormatStyle](foundation/decimal/formatstyle.md)
