---
title: "string(from:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/measurementformatter/string(from:)-wt9y"
---

# string(from:)

Creates and returns a localized string representation of the provided measurement.

## Declaration

```swift
func string(from measurement: Measurement<Unit>) -> String
```

## Parameters

- `measurement`: The measurement to be represented.

## Return Value

Return Value A user-readable string that represents the measurement.

## See Also

### Converting Measurements

- [string(from:)](foundation/measurementformatter/string(from:)-6rcb1.md)
- [string(from:)](foundation/measurementformatter/string(from:)-4hwjz.md)
