string(from:)
Creates and returns a localized string representation of the provided measurement.
Declaration
func string(from measurement: Measurement<Unit>) -> StringParameters
- measurement:
The measurement to be represented.
Return Value
A user-readable string that represents the measurement.