Common/Util/Formatter.php
public function number(float $number): string
    {
        return $this->getNumberFormatter()->format($number, NumberFormatter::TYPE_DEFAULT);
    }
public function number(float $number): string
    {
        return $this->getNumberFormatter()->format($number, NumberFormatter::TYPE_DEFAULT);
    }
Formats the given number for display.

@param float $number

@return string