How do I write this IF statement?

Easy:
if ((((int)(number * 100)) % 10) == 1)