<?php
function checkInteger($Number)
{
if($Number>1)
{
return(checkInteger($Number-1));
}
elseif($Number<0)
{
return(checkInteger((-1)*$Number-1));//qu jue duizhi
}
else
{
if(($Number>0)AND($Number<1))
{
return("NOT Integer");
}
else
{
return("YES,Integer");
}
}
}