Java Second Format formatSeconds(double value)

Here you can find the source of formatSeconds(double value)

Description

format Seconds

License

Open Source License

Declaration

public static String formatSeconds(double value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String formatSeconds(double value) {
        return String.format("%4.2f", value);
    }/*ww  w.  ja  v  a  2s . c  o  m*/
}

Related

  1. formatNanoseconds (final long ns)
  2. formatSecondFractions(long numUnits, int denominator)
  3. formatSeconds(double seconds)
  4. formatSeconds(double seconds)
  5. formatSeconds(double seconds, int precision)
  6. formatSeconds(final int total)
  7. formatSeconds(int seconds)
  8. formatSeconds(long dSeconds, boolean exact)
  9. formatSeconds(long millis)