---
title: leastNonzeroMagnitude
framework: swift
role: symbol
role_heading: Type Property
path: swift/float/leastnonzeromagnitude
---

# leastNonzeroMagnitude

The least positive number.

## Declaration

```swift
static var leastNonzeroMagnitude: Float { get }
```

## Discussion

Discussion This value compares less than or equal to all positive numbers, but greater than zero. If the type supports subnormal values, leastNonzeroMagnitude is smaller than leastNormalMagnitude; otherwise they are equal.

## See Also

### Accessing Numeric Constants

- [pi](swift/float/pi.md)
- [infinity](swift/float/infinity.md)
- [greatestFiniteMagnitude](swift/float/greatestfinitemagnitude.md)
- [nan](swift/float/nan.md)
- [signalingNaN](swift/float/signalingnan.md)
- [ulpOfOne](swift/float/ulpofone.md)
- [leastNormalMagnitude](swift/float/leastnormalmagnitude.md)
- [zero](swift/float/zero.md)
