MonsterAar
Programmer
How do I check that a particular string, being a number, is an integer?
For example, in a program I am wriing i need to do the following two things that involve this:
unless($input is an integer) { blah }
and
if($value /2 is an integer) { blah }
Can anyone help me?
Thankyou,
Luke
For example, in a program I am wriing i need to do the following two things that involve this:
unless($input is an integer) { blah }
and
if($value /2 is an integer) { blah }
Can anyone help me?
Thankyou,
Luke