Hi there,
Yet another problem with rounding. I'm taking a figure, and no matter how small, it needs to be divided by 27. That's not a problem, I've used the following code for this:
$directory_PAGES = round((count($sql_directory_ARRAY) / 27), 8);
It returns.
0.03703704
Now that number above needs to be rounded UP (always) to a whole number, so it should in this case be one. Therefore if it was:
9.03703704
It would round to 10 not 9.
I'd appreciate any help on this please. 🙂
Thanks,
Chris