KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: Convert string to float in Objective-C I'd like to convert a string to a float. /* dict is an NSDictionary to load Preferences */ NSString *str = [dict objectForKey:@"key"]; This is where I got. Now I'd like to convert the string value (in this case @"32.0f" ) in a float, where it could be processed by my application. How can I do this?
Tags (comma-separated)
Save Edits
Cancel