---
title: description
framework: swift
role: symbol
role_heading: Instance Property
path: swift/float16/description
---

# description

A textual representation of the value.

## Declaration

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

## Discussion

Discussion For any finite value, this property provides a string that can be converted back to an instance of Float16 without rounding errors.  That is, if x is an instance of Float16, then Float16(x.description) == x is always true.  For any NaN value, the property’s value is “nan”, and for positive and negative infinity its value is “inf” and “-inf”.
