Number - f:convertNumber

Converter Information 
InfoValue
Converter IDjavax.faces.Number
Handler ClassNone
Description Converter implementation for java.lang.Number values.
Palette LocationJSF Core/Converter/Number
Attributes 
NameRequiredTypeDescription
currencyCodefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The formatting for a currency. Use ISO4217 3-Letter Code.
currencySymbolfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Currency symbol and layout to use.
groupingUsedfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Enforce use of grouping separators in output. (Default value is true)

If not specified, the default value is "true".

Valid values are:

  • true
  • false
integerOnlyfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Display only the integer part of the value. (Default value is false)

If not specified, the default value is "false".

Valid values are:

  • true
  • false
localefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Locale for formatting and parsing the number. (Default is FacesContext.getViewRoot().getLocale())
maxFractionDigitsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Maximum number of digits that will be in the fractional portion of the output.
maxIntegerDigitsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Maximum number of digits that will be in the integer portion of the output.
minFractionDigitsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Minimum number of digits that will be in the fractional portion of the output.
minIntegerDigitsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Minimum number of digits that will be in the integer portion of the output. Expressions must evaluate to an int.
patternfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Custom formatting pattern which determines how the number string should be formatted and parsed.
typefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Specifies how the number string will be formatted and parsed. Valid values are "number", "currency", and "percentage". Default value is "number".

If not specified, the default value is "number".

Valid values are:

  • currency
  • number
  • percentage

Output generated by Vdldoc View Declaration Language Documentation Generator.