public class MainClass{ public static void main(String args[]) { System.out.printf("Negative floating-point default: %,f\n", -1234567.123); } } //Negative floating-point default: -1,234,567.123000