Hapus php desimal
$var = 252.587254564;
$var = (int)$var; // 252
portapipe
$var = 252.587254564;
$var = (int)$var; // 252
(int)-1.2