Java Double to String doubleToString(Double doub)

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

Description

Convierte un doble a cadena

License

Open Source License

Parameter

Parameter Description
doub Double

Return

Cadena

Declaration

public static String doubleToString(Double doub) 

Method Source Code

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

public class Main {
    /**// w ww .  ja va  2  s  .  com
     * Convierte un doble a cadena
     * 
     * @param doub Double
     * @return Cadena
     */
    public static String doubleToString(Double doub) {

        if (doub == null)
            return "";
        else
            return String.valueOf(doub);
    }
}

Related

  1. doubleToString(double d)
  2. doubleToString(double d)
  3. doubleToString(double d)
  4. doubleToString(double d, int fNumber)
  5. doubleToString(double d, int sigDigs)
  6. doubleToString(double inValue, int precision, boolean useComma)
  7. doubleToString(double val)
  8. doubleToString(double val, int digits)
  9. doubleToString(double value, int afterDecimalPoint)