[Solved] Round to the nearest tenth? [duplicate]


round($num, 1);

should round $num to the nearest tenth (the second argument specifies the precision, or the number of digits after the decimal it should round to)

solved Round to the nearest tenth? [duplicate]