如何将nsmutablesrrsy响应转换为float变量?
问题描述:
大家好,
如何将NSMutableArray数据集转换为float数据集.
下面的代码在我们使用like时显示总数据;
Hi all,
How to convert NSMutableArray dataset into float dataset.
Below code displaying total data when we use like;
Webservices *details=[[Webservices alloc] init];
[details getMobileNumberDetails:phnotextfield.text];
NSLog(@"longitudes Arrays from %@",details.resultData);
"-91.57696007",
"10.343234",
"74.982343",
"76.464844",
"76.464844",
但是我的目的是我必须将全部数据存储到float变量中.
but my intension is I have to store the total data into float variable.
Help me to solve the problem.
答
您是否检查过iPHone Dev SDK社区论坛?
http://www.iphonedevsdk.com/forum/iphone-sdk- development/19092-reading-floats-nsmutablearray.html [ ^ ]
Have you checked the iPHone Dev SDK community forum?
http://www.iphonedevsdk.com/forum/iphone-sdk-development/19092-reading-floats-nsmutablearray.html[^]