Here you can find the source of elapsedSeconds2(long milli)
public static String elapsedSeconds2(long milli)
//package com.java2s; //License from project: Apache License public class Main { public static String elapsedSeconds2(long milli) { double seconds = milli / 1000.; return Double.toString(seconds); }/*ww w . j a va2 s . c o m*/ }