public function formatScientific($number, array $attributes = [], array $textAttributes = [], $locale = null)
    {
        $methodArgs = array_pad(\func_get_args(), 5, null);

        list($locale, $symbols) = $this->normalizeMethodSignature($methodArgs[3], $methodArgs[4]);

        return $this->format($number, \NumberFormatter::SCIENTIFIC, $attributes, $textAttributes, $symbols, $locale);
    }
public function formatScientific($number, array $attributes = [], array $textAttributes = [], $locale = null)
    {
        $methodArgs = array_pad(\func_get_args(), 5, null);

        list($locale, $symbols) = $this->normalizeMethodSignature($methodArgs[3], $methodArgs[4]);

        return $this->format($number, \NumberFormatter::SCIENTIFIC, $attributes, $textAttributes, $symbols, $locale);
    }
public function formatScientific ( $ number , array $ attributes = [ ] , array $ textAttributes = [ ] , $ locale = null ) { $ methodArgs = array_pad ( \ func_get_args ( ) , 5 , null ) ; list ( $ locale , $ symbols ) = $ this -> normalizeMethodSignature ( $ methodArgs [ 3 ] , $ methodArgs [ 4 ] ) ; return $ this -> format ( $ number , \ NumberFormatter :: SCIENTIFIC , $ attributes , $ textAttributes , $ symbols , $ locale ) ; }
Formats a number in scientific notation according to the specified
locale and \NumberFormatter attributes.

@param string|float|int $number         The number to format
@param array            $attributes     The attributes used by \NumberFormatter
@param array            $textAttributes The text attributes used by \NumberFormatter
@param array            $symbols        The symbols used by the formatter
@param string|null      $locale         The locale used to format the number

@return string The formatted number
Formats a number in scientific notation according to the specified locale and \ NumberFormatter attributes .