O'Reilly logo
  • oik swiss thinks this is interesting:

%,.2f means “insert commas and format the number as a floating point with a precision of two decimal places.”

From

Cover of Head First Java, 2nd Edition

Note

String.format static method. no need for instance of string object