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
Assuming that you have NSString variables.
suppose, you want to convert a string value to float value, use following statement.
suppose, you want to convert a string value to integer value, use following statement.
Hope, it helps to you.