code: @Override
      protected String getReadOnlyValue(final AbstractUIField _abstractUIField)
          throws EFapsException
      {
          String strValue = "";
          final Object valueTmp = _abstractUIField.getValue()
                          .getReadOnlyValue(_abstractUIField.getParent().getMode());
          if (valueTmp instanceof Number) {
              final DecimalFormat formatter = (DecimalFormat) NumberFormat.getInstance(Context.getThreadContext()
                              .getLocale());
              if (_abstractUIField.getValue().getAttribute() != null) {
                  formatter.setMaximumFractionDigits(_abstractUIField.getValue().getAttribute().getScale());
              }
              if (valueTmp instanceof BigDecimal) {
                  final int scale = ((BigDecimal) valueTmp).scale();
                  if (formatter.getMinimumFractionDigits() < scale) {
                      formatter.setMinimumFractionDigits(scale);
                  }
              }
              strValue = formatter.format(valueTmp);
          }
          return strValue;
      }
docs: {@inheritDoc}