objective-c converting strings to usable numbers

Posted by Brodie4598 on Stack Overflow See other posts from Stack Overflow or by Brodie4598
Published on 2010-04-11T01:58:42Z Indexed on 2010/04/11 2:03 UTC
Read the original article Hit count: 345

Filed under:
|
|
|

I have strings that look about like this:

stringA = @"29.88";
stringB = @"2564";
stringC = @"12";
stringD = @"-2";

what is the best way to convert them so they can all be used in the same mathmatical formula?? that includes add, subtract.multiply,divide etc

© Stack Overflow or respective owner

Related posts about conversion

Related posts about objective-c