Info | Value |
---|---|
Converter ID | jakarta.faces.Number |
Handler Class | com.sun.faces.facelets.tag.faces.core.ConvertNumberHandler |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
binding |
false
| jakarta.el.ValueExpression
(must evaluate to jakarta.faces.convert.NumberConverter )
|
A ValueExpression that evaluates to an instance of jakarta.faces.convert.NumberConverter. |
currencyCode |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
ISO 4217 currency code, applied only when formatting currencies. |
currencySymbol |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Currency symbol, applied only when formatting currencies. |
for | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
If present, this attribute refers to the value of one of the exposed attached objects within the composite component inside of which this tag is nested. |
groupingUsed |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
|
Flag specifying whether formatted output will contain grouping separators. Expressions must evaluate to a boolean. Default value is true. |
integerOnly |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
|
Flag specifying whether only the integer part of the value will be formatted and parsed. Expressions must evaluate to a boolean. Default value is false. |
locale |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Object )
|
Locale whose predefined styles for numbers are used during formatting and parsing. If not specified, the Locale returned by FacesContext.getViewRoot().getLocale() will be used. Expressions must evaluate to a java.util.Locale or a String that is valid to pass as the first argument to the constructor java.util.Locale(String language, String country). The empty string is passed as the second argument. |
maxFractionDigits |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Maximum number of digits that will be formatted in the fractional portion of the output. Expressions must evaluate to an int. |
maxIntegerDigits |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Maximum number of digits that will be formatted in the integer portion of the output. Expressions must evaluate to an int. |
minFractionDigits |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Minimum number of digits that will be formatted in the fractional portion of the output. Expressions must evaluate to an int. |
minIntegerDigits |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Integer )
|
Minimum number of digits that will be formatted in the integer portion of the output. Expressions must evaluate to an int. |
pattern |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Custom formatting pattern which determins how the number string should be formatted and parsed. |
type |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Specifies how the number string will be formatted and parsed. Valid values are "number", "currency", and "percent". Default value is "number". |