How to download iOS 14.8.1 and iOS 15.1 simulator in Xcode?
Xcode 12.4 Components Simulators:
14.3, 14.2, 14.1, 14.0...
Xcode 13.2 Beta 2 Components Simulators:
15.0, 14.5, 14.4, 14.3, 14.2, 14.1, 14.0...
Post
Replies
Boosts
Views
Activity
let formatter = NumberFormatter()
formatter.numberStyle = .decimal
formatter.minimumFractionDigits = 18
formatter.maximumFractionDigits = 18
formatter.roundingMode = .floor
let number = NSDecimalNumber(string: "6.381569271192148411")
let result = formatter.string(from: number)
print(result!)
iOS 15: 6.381569271192150000
iOS 14: 6.381569271192148411