Jak to wyrazić za pomocą liczb całkowitych ?

<?php $files=17; $ile = $files / 3; $test = $ile * 3; if($test < $files) $ile++; ?>
Kto wie jak się zaokrągla w dół w php ?

<?php $files=17; $ile = $files / 3; $test = $ile * 3; if($test < $files) $ile++; ?>
<?php $ile = (int) ($files / 3); $test = (int) ($ile * 3); if($test < $files) $ile++; $test = (int) $ile * 3; ?>