your_float = [your_string floatValue];
EDIT:
try this:
NSLog(@"float value is: %f", your_float);
More Related Contents:
- Understanding NSString comparison
- Convert NSDate to NSString
- How to convert an NSString into an NSNumber
- Objective-C: Reading a file line by line
- How to add percent sign to NSString
- Converting a string to an NSDate
- Remove all but numbers from NSString
- Check that a input to UITextField is numeric only
- Any way to bold part of a NSString?
- Comparing Strings in Cocoa
- NSString (hex) to bytes
- String comparison in Objective-C
- Is there a simple way to split a NSString into an array of characters?
- Search through NSString using Regular Expression
- NSString to CFStringRef and CFStringRef to NSString in ARC?
- How to add commas to number every 3 digits in Objective C?
- Remove characters from NSString?
- Replacing one character in a string in Objective-C
- How to make subscripts and superscripts using NSAttributedString?
- Reverse NSString text
- Get parts of a NSURL in objective-c
- Using NSRegularExpression to extract URLs on the iPhone
- NSString : easy way to remove UTF-8 accents from a string?
- How Can I Draw Image with Text Wrapping on iOS?
- Converting NSString to NSDictionary / JSON
- sizeWithFont method is deprecated. boundingRectWithSize returns an unexpected value
- NSString – Convert to pure alphabet only (i.e. remove accents+punctuation)
- NSString instance reports its class as NSCFString
- String won’t url encode in iOS
- +[NSString stringWithString:] — what’s the point?