| java.lang.Object | ||
| ↳ | org.springframework.format.number.AbstractNumberFormatter | |
| ↳ | org.springframework.format.number.PercentFormatter | |
A Number formatter for percent values.
Delegates to getPercentInstance(Locale).
Configures BigDecimal parsing so there is no loss in precision.
The parse(String, Locale) routine always returns a BigDecimal.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Obtain a concrete NumberFormat for the specified locale.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.format.number.AbstractNumberFormatter
| |||||||||||||||||||
From class
java.lang.Object
| |||||||||||||||||||
From interface
org.springframework.format.Parser
| |||||||||||||||||||
From interface
org.springframework.format.Printer
| |||||||||||||||||||
Obtain a concrete NumberFormat for the specified locale.
| locale | the current locale |
|---|
null)
