Just a quick one I hope. I have an array with 10 elements and each element as a numerical value. I want to use ROUND to round each value to 0 decimal places and have tried the following:
However that did not work, so I tried rounding the entire array at once using:PHP Code:
$element = round($array);
No work either. No errors, they just set the newarray to 0, no matter what the values before.PHP Code:
$newarray = round($array);
Many thanks for your times.