Contents

converted(to:)

Returns a new measurement created by converting to the specified unit.

Declaration

func converted(to otherUnit: UnitType) -> Measurement<UnitType>

Parameters

  • otherUnit:

    A unit of the same Dimension.

Return Value

A converted measurement.

See Also

Converting to Other Units