Ben bu var
$number = 0.5 if (is_float($number)) { echo 'float'; } else { echo 'not float'; }
and it echos not float. what could be the reason thanks