Precyzja numeru PHP
round('1.7983739837398', 3);//1.798
round('1.7983739837398', 2);//1.8
Tiago F2
round('1.7983739837398', 3);//1.798
round('1.7983739837398', 2);//1.8