Here you can find the source of doubleToCoreString(double number)
public static String doubleToCoreString(double number)
//package com.java2s; // LICENSE: This file is distributed under the BSD license. import java.text.DecimalFormat; public class Main { private static DecimalFormat coreDoubleFormat_; public static String doubleToCoreString(double number) { return coreDoubleFormat_.format(number); }//ww w. java2 s. c o m }