get this from my database:
252.587254564
Well i wanna remove the .587254564 and keep the 252, how can i do that?
.587254564
252
You can just cast it to an int:
int
$new = (int)$old;