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

# hex

The standard hexadecimal format for floating-point values.

## Declaration

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

## Mentioned in

Generating Log Messages from Your Code

## See Also

### Getting the Standard Formats

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