Double
struct Double
-
Converts Double to String
Declaration
Swift
public var toString: String
-
Converts Double to Int
Declaration
Swift
public var toInt: Int
-
Converts Double to CGFloat
Declaration
Swift
public var toCGFloat: CGFloat
-
Creating the exponent operator
Declaration
Swift
static public func ** (lhs: Double, rhs: Double) -> Double