Is it possible to create a php filter to filter a custom field?

What I want to do is filter out the node if there is a negative number in my custom field. That is a calculation of the other two fields.