Create a test formula and put it in the details:
Right(totext({FXRates.SpotAskRate},"#",0),4)
See if it equates to '0000' for the appropriate records. If it doesn't, then you'll have to tweak the formula. For instance, there may be spaces at the end.