Prado\I18N\core\NumberFormatInfo::setPattern PHP Метод

setPattern() публичный Метод

Set the pattern for a specific number pattern. The validate patterns NumberFormatInfo::DECIMAL, NumberFormatInfo::CURRENCY, NumberFormatInfo::PERCENTAGE, or NumberFormatInfo::SCIENTIFIC
public setPattern ( $type = NumberFormatInfo::DECIMAL )
    public function setPattern($type = NumberFormatInfo::DECIMAL)
    {
        if (is_int($type)) {
            $this->pattern = $this->parsePattern($this->data['NumberPatterns'][$type]);
        } else {
            $this->pattern = $this->parsePattern($type);
        }
        $this->pattern['negInfty'] = $this->data['NumberElements'][6] . $this->data['NumberElements'][9];
        $this->pattern['posInfty'] = $this->data['NumberElements'][11] . $this->data['NumberElements'][9];
    }