When trying to convert a String or NSString to float or double I get inaccurate answers in debugger. Why is this ?
let x = "2.3"
let y = Double(x)
let z = Float(x)
let xx : NSString = "2.3"
let yy = xx.floatValue
let zz = xx.doubleValue
I have run this on XCode 7.3 and XCode 8 gm seed