I try to convert a String decimal like "1.10" to Double object but when I use
Double("1.10") result is wrong 1.1000000000000001
but if I use
Double("1.02") result is ok : 1.02
Did i miss something ?
I use the simulator iPhone XS in Swift 5.0 and Xcode 10.1