Android Int Format formatInt(int number)

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

Description

format Int

Declaration

public static String formatInt(int number) 

Method Source Code

//package com.java2s;

import java.text.NumberFormat;

import java.util.Locale;

public class Main {
    public static String formatInt(int number) {
        return NumberFormat.getNumberInstance(Locale.US).format(number);
    }/*from   w  w  w . jav  a2s .co m*/
}

Related

  1. formatSpeed(int speed, String format)
  2. getDecimalFormat(int i, String numStr)
  3. formatGameSize(int size)
  4. formatSpeed(int value)
  5. formatId(String id)