Categories
Division and rounding?
Good afternoon. I have a small problem with rounding.
$result = ($x / $y); echo $result; //Вывод: 433839.47939263 //Как сделать чтобы после точки было не 8 значений а 4.
Answer the question
In order to leave comments, you need to log in
round($result, 4);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question