limitar dos php decimal
return number_format((float)$number, 2, '.', '');
Nice Nightingale
return number_format((float)$number, 2, '.', '');