i'm parsing something from the Apple JSON (the rating of the app) and i tried something like:
if ([StoreParse objectForKey:@"averageUserRating"] == @"4.5") {
NSLog(@"xx");
} else {
NSLog(@"xxx");
}
The App has a rating of 4.5 and if i do
NSlog (@"%@", [StoreParse objectForKey:@"averageUserRating"]);
The output is : 4.5
but when i run the script the NSlog in the first code's output is "xxx" does anyone can help me?