String f = String.valueOf(fraction).substring(2, 4);  String time = String.valueOf(h + ":" + m + ":" + s + "." + f);
String time = h + ":" + m + ":" + s + "." + f;
    private String formatTime(double length) {        int hours = (int) (length / 3600);        int minutes = (int) (length / 60) - hours*60;        int seconds = (int) Math.floor(length % 60);        double fraction = length - Math.floor(length);                String h = Integer.toString(hours);        if (hours < 10) h = "0" + h;        String m = Integer.toString(minutes);        if (minutes < 10) m = "0" + m;                String s = Integer.toString(seconds);        if (seconds < 10) s = "0" + s;                String f = String.valueOf(fraction).substring(2, 4);                String time = String.valueOf(h + ":" + m + ":" + s + "." + f);        return time;    }