I have a NSArray with numbers and I want to get the value of an item of the array and assign it to a double. In my attempt of simple casting:
lat = (double)[storesList.latitudes objectAtIndex:i];
I get the error: “Pointer value used where a floating point value was expected”.
Please help!
Thank you,
F.
If you say that your array is consisting of number (NSNumber class), that you may should get the value next way: