iphone - How to check if NSMutableArray object contains NaN -


this question has answer here:

i have nsmutablearray 1 float value , 4 nan values. want execute operations if array object nan. how can write if condition?

try isnan function

iterate array , put check

isnan([[array objectatindex:i] floatvalue])

(dont forget add math.h library)


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -