Would I also have to make the cast in the if >= 100?
No you are not using any mixed data type arithmetic.