1.3 Java Format Numbers

In a new project enter this program.


After completing this program you should be able to :

  • format numeric output in various ways



Try the following changes to the formatting "template" in your program:
  •  "#,000.00" 
  • "$ #,000.00"
  • " #,000.00%"
Notice how your output changes based on the template you provide.
Comments