createNumberFormatter() protected method
Creates a number formatter based on the given type and format. You may override this method to create a number formatter based on patterns.
protected \NumberFormatter createNumberFormatter ( $style, $decimals = null, $options = [], $textOptions = [] )$style integer
The type of the number formatter. Values: NumberFormatter::DECIMAL, ::CURRENCY, ::PERCENT, ::SCIENTIFIC, ::SPELLOUT, ::ORDINAL ::DURATION, ::PATTERN_RULEBASED, ::DEFAULT_STYLE, ::IGNORE