Java tutorial
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; public class Main { public static String doubleParseToString(double d1) { Double d = new Double(d1); BigDecimal bd = new BigDecimal(d.toString()); return bd.toPlainString(); } }