Meter
public struct Meter : NumericType, CustomStringConvertible
The Meter is a unit of distance.
-
The Meter value
Declaration
Swift
public let value: Double
-
Creates a new Meter instance.
Declaration
Swift
public init(_ value: Double)
Parameters
value
The value of Meter.
-
Transform the current Meter in kilometers
Declaration
Swift
public var inKilometers: Kilometer { get }
-
Transform the current Meter in AstronomicalUnit.
Declaration
Swift
public var inAstronomicalUnits: AstronomicalUnit { get }
-
Declaration
Swift
public var description: String { get }