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 do a simply cast to int.
int
$var = 252.587254564; $var = (int)$var; // 252