---
title: "write(to:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/float16/write(to:)"
---

# write(to:)

Writes a textual representation of this instance into the given output stream.

## Declaration

```swift
func write<Target>(to target: inout Target) where Target : TextOutputStream
```
