ConversionInfo
public struct ConversionInfo
Describes parameters to be used during conversion
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init(roundToNearest: Double, outputUnit: UnitLength)
Parameters
roundToNearest
value to round to when converting
outputUnit
the output unit to be used for converted value
-
value to round to when converting
Declaration
Swift
public let roundToNearest: Double
-
the output unit to be used for converted value
Declaration
Swift
public let outputUnit: UnitLength