Development Class Java

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