protected function getDisplayValue($value)
    {
        if (is_numeric($value)) {
            $locale = SwatI18NLocale::get();
            $thousands_separator = $this->show_thousands_separator ? null : '';

            $value = $locale->formatNumber($value, null, array(
                'thousands_separator' => $thousands_separator
            ));
        } else {
            $value = parent::getDisplayValue($value);
        }

        return $value;
    }