---
title: debugDescription
framework: swift
role: symbol
role_heading: Instance Property
path: swift/float/debugdescription
---

# debugDescription

A textual representation of the value, suitable for debugging.

## Declaration

```swift
var debugDescription: String { get }
```

## Discussion

Discussion This property has the same value as the description property, except that NaN values are printed in an extended format.

## See Also

### Describing a Float

- [hash(into:)](swift/float/hash(into:).md)
- [description](swift/float/description.md)
- [customMirror](swift/float/custommirror.md)
- [hashValue](swift/float/hashvalue.md)
