non basterebbe allora convertire quel numero in integer?

Codice PHP:
$num 12345.6789;
settype($num"integer");
echo 
$num