---
title: fixed
framework: os
role: symbol
role_heading: Type Property
path: os/oslogfloatformatting/fixed
---

# fixed

The standard fixed-point format option.

## Declaration

```swift
static var fixed: OSLogFloatFormatting { get }
```

## Mentioned in

Generating Log Messages from Your Code

## Discussion

Discussion This option is equivalent to the %f option of fprintf, which prints all digits before the radix point and a system-specific number of digits after the radix point.

## See Also

### Getting the Standard Formats

- [hex](os/oslogfloatformatting/hex.md)
- [exponential](os/oslogfloatformatting/exponential.md)
- [hybrid](os/oslogfloatformatting/hybrid.md)
