Customizing Formats #### (The Java™ Tutorials > Internationalization > Formatting)

Customizing Layouts You can use #### the  DecimalFormatclass to format decimal numbers into specific local strings. This class allows you to control the display of leading and trailing zeros, prefixes and suffixes, grouping (thousands) separators, and the decimal separator. If you want to change the format symbols, such as the decimal separator, you can use  DecimalFormatSymbolswith the  DecimalFormatclass. These classes provide … Read more

images (1) (2)