William - over 400 posts and apparently learning very little about social interaction or coding !
From the php rounding example page you link to:
Example #1 round() examples
<?php
echo round(3.4); // 3
echo round(3.5); // 4
echo round(3.6); // 4
echo round(3.6, 0); // 4
echo round(1.95583, 2); // 1.96
echo round(1241757, -3); // 1242000
echo round(5.045, 2); // 5.05
echo round(5.055, 2); // 5.06
?>
Nowhere in your code did you say how many decimal places you wanted - so defaults to 0.
.... but, that is purely working with the number, to
display eg. 2.0 you need to use another function on the rounded figure you just produced. (Which is also mentioned on the example page you quoted).
These are NOT saratogaWX problems, they are self-created william problems.
If everyone asked asked all the questions you do, by breaking as many things as you do, the web would grind to a halt !
Code: Select all
but most of my site is coded all by me.

Then why are you harassing the good guys - Don't bother replying, it just wastes thread space .......