title: check if the NSString is integer or double
body: <p>how can I check if the NSString *val I have has a Integer or float ?? The raw approach is to look for "." character..but is there a more graceful way to do this?</p>