Forum Moderators: coopster
172.66666666667 191.66666666667 176.66666666667 184.66666666667
they all have .66666666667 and I do not wish to have any decimal places, how can I get rid of this?
$string = "172.66666666667";
echo number_format($string, 0);
The 0 denotes decimal places. In this example, $string would be = to 172
Hope that helps.
dc