Regular expressions can come handy in this situation. You can convert the number to string and match against:
[0-9]+\.[0-9][0-9]
That is:
[0-9] : Match a character, which is inside the group 0--9 -> 0123456789
+ : Between 1+ times, as much as possible
\. : Match a dot character
[0-9] : Match a character, which is inside the group 0--9 -> 0123456789
[0-9] : Match a character, which is inside the group 0--9 -> 0123456789
Honestly, my experience in Objective-C (and Macs) is NULL
, but you can have a look here on how to create and test regular expressions objects against strings.