original_string: public function formatNumber($amount, array $currency)
      {
          $rounded = $this->round(abs($amount), $currency);
          return number_format($rounded, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']);
      }
code: public function formatNumber($amount, array $currency)
      {
          $rounded = $this->round(abs($amount), $currency);
          return number_format($rounded, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']);
      }
code_tokens: public function formatNumber ( $ amount , array $ currency ) { $ rounded = $ this -> round ( abs ( $ amount ) , $ currency ) ; return number_format ( $ rounded , $ currency [ 'decimals' ] , $ currency [ 'decimal_separator' ] , $ currency [ 'thousands_separator' ] ) ; }
docstring: Format an amount with grouped thousands
  @param int|float $amount
  @param array $currency
  @return string
docstring_tokens: Format an amount with grouped thousands