<?php $test = array(5.01,5.4,5.1,5.2,5.3,5.5,4.2,4.05,6.9); usort($test, function ($a, $b) { return ceil($a - $b); }); print_r($test);
You have javascript disabled. You will not be able to edit any code.