Logic check on 'NULL' vaule

I have a case where I have to display field B only when the value of field A is NULL. The field A in question is a numeric field and not a string, otherwise I could have tried regex. Any pointers?

In field B's relevant part try following:

relevant="/data/a = ''"

Its like saying if A is equal to '' or no value in A.