Java Double Number to String doubleToString(Double num)

Here you can find the source of doubleToString(Double num)

Description

double To String

License

BSD License

Declaration

public static String doubleToString(Double num) 

Method Source Code

//package com.java2s;
//License from project: BSD License 

public class Main {
    public static String doubleToString(Double num) {
        java.text.NumberFormat f = java.text.NumberFormat.getInstance();
        f.setGroupingUsed(false);//from   w  ww.j  a v  a 2s.  com
        return f.format(num);
    }
}

Related

  1. doubleToString(double d)
  2. doubleToString(double d, int df)
  3. doubleToString(double d, int precision)
  4. doubleToString(Double d, String format)
  5. doubleToString(double dnum)
  6. doubleToString(double val, int maxFractionDigits)
  7. doubleToString(double value)
  8. doubleToString(double value, int afterDecimalPoint)
  9. doubleToString(double value, int fractionDigits)