What number object should I use i’ve tried double but it converts 1.4 to 1.39999999
I’ve also tried NSNumber but I can’t find out how to do.
if (MyNum < 1.4) {
Also I need to convert from an NSString
I’m evaluation my app version number 1.4 is my new release version. I need to perform action if (appVer < 1.4)
Use
NSString‘s built-in number conversion methods.Then use:
NSString Documentation