You can use either, matter of preference really, it is just that is_float is meant for that purpose, it checked whether the number is floating (is not a whole number) so !is_float is opposite to is_float.
$win &1 checks whether the number is odd or not
!$win &1 is not odd so is even
|