i just want to know how to detect if a number contain the dot like
$number=16/4
if ($number contain dot){ //do this }
thx
[man]is_float()[/man]
//with code if (is_float($number)) { // It is a float } else { // It isn't }
nice