Improve/is number formula

Basically, checking for a number formula is more reliable than looking
for a string formula.

The main requisite for a number formula is:

- Is a NSNumber
- Is a NSString that contains 0123456789