You need using custom round function for this. Because rounding to 0.49 is not standard way.
function rounder($num){
$fln= $num-floor($num);
if ($fln>0 and $fln<0.5) $fln=0.49;
else $fln=0.99;
return floor($num)+$fln;
}
echo rounder(5.24882);
source: https://stackoverflow.com/questions/47389399/round-number-up-to-49-or-99