Begrenzen Sie zwei Dezimal -PHP
return number_format((float)$number, 2, '.', '');
Nice Nightingale
return number_format((float)$number, 2, '.', '');