Double
struct Double
-
Returns the largest number less than or equal to int in decimal digits.
1.ceil #=> 1 1.5.ceil #=> 2
Declaration
Swift
var ceil: Int
-
Returns the smallest number less than or equal to int in decimal digits.
1.floor #=> 1 1.5.floor #=> 1
Declaration
Swift
var floor: Int
-
Rounds int to a given precision in decimal digits.
1.round #=> 1 1.5.round #=> 2 1.4.round #=> 1
Declaration
Swift
var round: Int
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double
-
Undocumented
Declaration
Swift
struct Double