Attributes | Description |
---|---|
| Automatic/Required Specifies a desired numeric format supported by the Java class |
Usage Notes
The Number
converter uses the formatting and parsing methods and formats of the java.text.DecimalFormat
class. For example:
This converter: | Formats the numeric value as follows: |
---|---|
| Truncates decimals in the rendered value. |
| Uses comma as a grouping separator, and displays up to two decimal places. |
| Always displays two decimal places, even there is no decimal value. |
| Displays a number with two decimal places and at least one digit before the decimal point, even if any of the digits is zero. |