I am trying to do a 2 digit precision in PHP Laravel project but it doesnt work. I have the value 1234666.6666667
that I want to make 1234666.66
but all the results I've seen in here or/and in other search pages.
This is my code:
$value = 1234666.6666667;
return round($value,2);
any other solution?