Is it possible to round a decimals to the nearest .5 with PHP like this:
number | round
----------------
1.29 | 1.50
2.03 | 2.00
1.43 | 1.50
1.13 | 1.00
11.38 | 11.50
I tried with:
$rnd= round($number,2);
but I get decimals like the one in the column "number" above.