Java Integer Format formatInt(int n)

Here you can find the source of formatInt(int n)

Description

format Int

License

Open Source License

Declaration

public static String formatInt(int n) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String formatInt(int n) {
        return String.format("%,d", n);
    }//from   w ww .  j a v  a  2 s  .  c  o  m
}

Related

  1. format(int ticks)
  2. formatInt(int i, int radix, int len)
  3. formatInt(int in, int precision)
  4. formatInt(int myint, int maxint)
  5. formatINT(int n)
  6. formatInt(int value, int length)
  7. formatInt(int value, int numDigit)
  8. formatInt(int value, int width)
  9. formatInt(String value)