People have a challenge I have to convert arrayString to arrayFloat it's not how you usually do it
array *date = [obj valueForKey:@"oficialTime"];// por ejemplo 10:10:02
float f = [date floatValue];
The problem here is that array is in Nsdate format hh: mm: ss
array *date = [obj valueForKey:@"oficialTime"];
{ 02:03:03 01:02:03 10:10:02 }
When I do the conversion float gives me these values
20000,10000,10000
I have managed and achieved that float gives me the complete values but without separation of the points
Now I have this data
20303,10203,101002,
The problem is that this is a string and I need these values in float but with the separation of the points because I must determine the minutes and seconds but float does not recognize the colon (:) and of course in Array
an array float serai something like this
NSAarrayFloat= @[@2, @3, @4,@5];//float
When I need something like this
NSAarrayFloat= @[@02:03:03, @01:02:03, @01:02:03];//float