Php trim to 2 decimal places July 8, 2019 16 32 64 128 Php trim number to 2 decimal places Number_format php Php integer Php truncate decimal to 2 places