I have a variable with a range from 000 to 990.

How can I identify specific numbers like:

x20
x45
x70
x95

x can be from 0 to 9


I don't see a quick and simple way of doing this.