Byte, Short, Integer, Long, and BigInteger as well as
Float, Double, and BigDecimal. You pass in a format string suitable
for Formatter#format.
For example, %10d emits a number as a decimal int padding to 10 char.
This can even do long to Date conversions using the format string.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString(Object value, String formatString, Locale locale)
Implements org. |
| NumberRenderer | back to summary |
|---|---|
| public NumberRenderer() | |
| toString | back to summary |
|---|---|
| public String toString(Object value, String formatString, Locale locale) Implements org.
| |