|
Locale-Sensitive Java Method
Internationalization (I18n) Method OverviewNumberFormat is the abstract base class for all number formats. This class provides the interface for formatting and parsing numbers for any locale. Your code can be completely independent of the locale conventions for decimal points, thousands-separators, or even the particular decimal digits used, or whether the number format is even decimal. The zero-argument factory method returns a percentage formatter for the current default locale. I18n IssuesBecause the system's locale may not be the correct locale for all users,
it is good I18n practice to use the factory method that accepts a Globalyzer will detect this method and report it as an I18n issue
regardless of the signature used and regardless of whether it is being
used correctly. If Suggested Replacement
Instead of:
Use:
Please see Numbers for more information.
|