Run »
"; // Cast string to int $x = "23465.768"; $int_cast = (int)$x; echo $int_cast; ?>
23465
23465