PHP Float Round

round(123.231424, 2); // 123.23
round(123.231424, 1); // 123.2
round(123.231424); // 123
kas-cor