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
self
asString
Declaration
Swift
var asString: String { get }
-
Returns string representation rounded to provided precition
Declaration
Swift
func asString(precition: UInt) -> String
-
Returns
self
asDate
usingtimeIntervalSince1970
representation.Declaration
Swift
var asDate: Date { get }
-
Returns
self
asInt
if possibleDeclaration
Swift
var asInt: Int? { get }
-
Returns
true
ifself
is ceil. Returnsfalse
otherwise.Declaration
Swift
var isCeil: Bool { get }