Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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();
    }
}