Double
public extension Double
-
Returns string representation rounded to tenth
Declaration
Swift
var asCeilString: String { get } -
Returns string representation rounded to tenth
Declaration
Swift
var asTenthString: String { get } -
Returns string representation rounded to hundredth
Declaration
Swift
var asHundredthString: String { get } -
Returns string representation rounded to thousands
Declaration
Swift
var asThousandsString: String { get } -
Returns
selfasStringDeclaration
Swift
var asString: String { get } -
Returns string representation rounded to provided precition
Declaration
Swift
func asString(precition: UInt) -> String
-
Returns
selfasDateusingtimeIntervalSince1970representation.Declaration
Swift
var asDate: Date { get } -
Returns
selfasIntif possibleDeclaration
Swift
var asInt: Int? { get }
-
Returns
trueifselfis ceil. Returnsfalseotherwise.Declaration
Swift
var isCeil: Bool { get }
Double Extension Reference