Show Output
"; // Outputs: integer echo $int . "
"; // Outputs: 2 // Cast to float $float = (float)$num; echo gettype($float) . "
"; // Outputs: double echo $float; // Outputs: 2.75 ?>