0
So what is the function to display floating number
<?php $x= 5.67; if ($x<0) echo "$x is a negative number"; elseif ($x>0) echo "$x is a positive number"; elseif ($x%2==1) echo "$x is a floating number"; else echo "$x is a string"; ?>
1 Respuesta
+ 2
elseif (is_float($x))