---
title: number
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/formatstyle/number-8c8rj
---

# number

A style for formatting the Swift standard double-precision floating-point type.

## Declaration

```swift
static var number: FloatingPointFormatStyle<Double> { get }
```

## Discussion

Discussion Use this type property when the call point allows the use of FloatingPointFormatStyle. You typically do this when calling the formatted methods of types that conform to BinaryFloatingPoint.

## See Also

### Applying numeric styles for floating-point values

- [number](foundation/formatstyle/number-432x3.md)
- [number](foundation/formatstyle/number-3qe2o.md)
- [FloatingPointFormatStyle](foundation/floatingpointformatstyle.md)
