Double
public extension Double
-
Declaration
Swift
func formatPoints() -> String
-
Declaration
Swift
func roundUp() -> Int
-
Rounds the double to decimal places value
Declaration
Swift
func roundToPlaces(places: Int) -> Double
-
Declaration
Swift
var metersToKm: Double { get }
-
Declaration
Swift
var numberOfMetersInKm: Double { get }
-
Declaration
Swift
var numberOfFeetInMiles: Double { get }
-
Declaration
Swift
var metersToFeet: Double { get }
-
Declaration
Swift
var metersToMiles: Double { get }
-
Declaration
Swift
func shortDistanceInMetric(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func shortDistanceImperial(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func shortDistance(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func longDistance(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func longDistanceInMetric(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func longDistanceImperial(localizationProvider: LocalizationProvider) -> String
-
Declaration
Swift
func getLocalized(amount: Int, units: String) -> String