Format de numéro PHP sans arrondissement

function cutNum($num, $precision = 2) {
    return floor($num) . substr(str_replace(floor($num), '', $num), 0, $precision + 1);
}
Jittery Jackal