I have this PHP code:
$entityElementCount = (-($highScore-$totalKeywordCount))/0.29;
What i want to know is, how to check whether $
$num = 2.0000000000001; if( $num == floor( $num ) ){ echo('whole'); }else{ echo('fraction'); }
EX:
2.0000000000001 | fraction
2.1 | fraction
2.00 | whole
2 | whole