<?php $numbs = [1,2,50.2,5.43,1.22,1.9,10.999,-20.5,-15.8,-2.75]; foreach($numbs as $num) { $roundedNum = round($num - .25); echo $num . ' Rounded to ' . $roundedNum . "\n"; }
You have javascript disabled. You will not be able to edit any code.