Java tutorial
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static String getBigDecimal(double time) { BigDecimal big = new BigDecimal(time); return big.toString(); } }