convert(to:)
Converts the measurement to the specified unit.
Declaration
mutating func convert(to otherUnit: UnitType)Parameters
- otherUnit:
A unit of the same
Dimension.
Converts the measurement to the specified unit.
mutating func convert(to otherUnit: UnitType)A unit of the same Dimension.