code: public void setType(String type)
              throws JspException
      {
          _type = setRequiredValueAttribute(type, "type");
          if (_type != null) {
              if (!type.equals("number") && !type.equals("currency") && !type.equals("percent")) {
                  String s = Bundle.getString("Tags_NumberFormatWrongType");
                  registerTagError(s, null);
              }
          }
      }
docs: Sets the type of number format to be used (number, currency, or percent).
  @param type the number format type.
  @jsptagref.attributedescription The type of the format to apply. Possible values are <code>number</code>, <code>currency</code>, or <code>percent</code>.
  @jsptagref.databindable false
  @jsptagref.attributesyntaxvalue <i>string_type</i>
  @netui:attribute required="false" rtexprvalue="true"
  description="The type of the format to apply. Possible values are number, currency, or percent."