Convert string to float in Objective-C

your_float = [your_string floatValue];

EDIT:

try this:

  NSLog(@"float value is: %f", your_float);

Leave a Comment