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

# exponential

The standard exponential format option.

## Declaration

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

## Mentioned in

Generating Log Messages from Your Code

## Discussion

Discussion This option is equivalent to the %e option in fprintf. It prints the number in the form [-]d.ddde±dd, with d representing the digits of the number. The number of digits after the radix point is system-specific.

## See Also

### Getting the Standard Formats

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