original_string: public function getPrettyNumber($value, $precision = 0)
      {
          if ($this->decimalPoint === null) {
              $locale = localeconv();
  
              $this->decimalPoint = $locale['decimal_point'];
              $this->thousandsSeparator = $locale['thousands_sep'];
          }
  
          return number_format($value, $precision, $this->decimalPoint, $this->thousandsSeparator);
      }
code: public function getPrettyNumber($value, $precision = 0)
      {
          if ($this->decimalPoint === null) {
              $locale = localeconv();
  
              $this->decimalPoint = $locale['decimal_point'];
              $this->thousandsSeparator = $locale['thousands_sep'];
          }
  
          return number_format($value, $precision, $this->decimalPoint, $this->thousandsSeparator);
      }
code_tokens: public function getPrettyNumber ( $ value , $ precision = 0 ) { if ( $ this -> decimalPoint === null ) { $ locale = localeconv ( ) ; $ this -> decimalPoint = $ locale [ 'decimal_point' ] ; $ this -> thousandsSeparator = $ locale [ 'thousands_sep' ] ; } return number_format ( $ value , $ precision , $ this -> decimalPoint , $ this -> thousandsSeparator ) ; }
docstring: Returns a prettified string representation of a number. The result will have
  thousands separators and a decimal point specific to the current locale, eg,
  `'1,000,000.05'` or `'1.000.000,05'`.
  
  @param number $value
  @return string
  @api
docstring_tokens: Returns a prettified string representation of a number . The result will have thousands separators and a decimal point specific to the current locale eg 1 000 000 . 05 or 1 . 000 . 000 05 .