Java Locale Format format(double value)

Here you can find the source of format(double value)

Description

format

License

Open Source License

Declaration

public static String format(double value) 

Method Source Code


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

import java.text.NumberFormat;
import java.util.*;

public class Main {
    public static String format(double value) {
        return NumberFormat.getInstance(Locale.US).format(value);
    }/*from   w  ww.  j ava 2s  . co m*/
}

Related

  1. format(double d)
  2. format(Double d)
  3. format(Double number)
  4. format(double number)
  5. format(double number, int fractionDigits)
  6. format(double values, boolean doNotFormat)
  7. format(final Date date, final String format)
  8. format(final Date date, final String format)
  9. format(final double num, final int prec)