PHP Laravel Prix Prix à 99

$input = 17.99; // example input
$add = $input + 0.01;
$round = round($add);
$output = $round - 0.01;

simpler
return round($input + 0.01) - 0.01;
TP