code: public function number(float $number): string
      {
          return $this->getNumberFormatter()->format($number, NumberFormatter::TYPE_DEFAULT);
      }
docs: Formats the given number for display.
  
  @param float $number
  
  @return string