Java Decimal Format getString(Double d)

Here you can find the source of getString(Double d)

Description

get String

License

Open Source License

Declaration

public static String getString(Double d) 

Method Source Code


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

import java.text.NumberFormat;

public class Main {
    public static String getString(Double d) {
        NumberFormat nf = NumberFormat.getInstance();
        nf.setGroupingUsed(false);//  w w  w  .j a va 2 s .c o  m
        return nf.format(d);
    }
}

Related

  1. getRedondeoHaciaArriba(double pTotal)
  2. getScientificNotation(double value)
  3. getSpaceMessage(final double bytes)
  4. getStandardDeviationString(double[] standardDeviationDoubles)
  5. getStandardDouble(double d, int pL)
  6. getStringFromDouble(double number)
  7. getStringRepresentationForDouble(double value)
  8. getTwoPoint(double val)
  9. getValue(double value)