limitar dois php decimais

return number_format((float)$number, 2, '.', '');
Nice Nightingale