MRTCanonicalUnit
class MRTCanonicalUnit : NSObject |
Represents a unit with the value and measurement separated.
Summary
Class methods
init(unit: String, value: Double) |
Properties
var unit: String { get } |
var value: Double { get } |
Class methods
init(unit:value:)
init(unit: String, value: Double) |
Properties
unit
var unit: String { get } |
The unit of measurement.
value
var value: Double { get } |
The numerical value.