Double
extension Double
-
Returns this value rounded to a number of decimal places
Declaration
Swift
public func rounded(toDecimalPlaces places: Int) -> Double
Docs (98% documented)
extension Double
Returns this value rounded to a number of decimal places
Swift
public func rounded(toDecimalPlaces places: Int) -> Double