You could check the values here already.
```Python
try:
    foobar = float(entity.text)
except ValueError:
    print "meh"