My problem is that I have a form in which players can enter an amount of energy to spend, but it is intended for whole numbers only. They are able to enter decimals for the amount of energy to spend. How can I write an if statement, which will check whether the number entered is whole or decimal, and echo back an error if they enter a decimal number?
Thank you very much for your time,
Az_Critter