I have a string that I convert to a double like this:
double d = [string doubleValue];
The documentation for doubleValue tells
doubleValue
In this case, try using >= and <=.
>=
<=