$number = some number;
When I divide this number, it gives not a round value.
Can give something like 3.13
.
How to round it to the biggest value?
Like:
if ($number == 3.5) {
$number = 4;
} elseif ($number = 3.51) {
$number = 4;
} else if ($number == 3.49) {
$number = 3;
}