Java Second Convert convertMsToFloatSeconds(final long timeMs)

Here you can find the source of convertMsToFloatSeconds(final long timeMs)

Description

convert Ms To Float Seconds

License

Apache License

Declaration

public static float convertMsToFloatSeconds(final long timeMs) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static final int MS_IN_SECOND = 1000;

    public static float convertMsToFloatSeconds(final long timeMs) {
        return (float) timeMs / MS_IN_SECOND;
    }//from  ww  w.ja  v a2s.c o  m
}

Related

  1. convertDaysInMiliseconds(long lDays)
  2. convertMilisecondsRemainderToFrames(Integer miliseconds, int fps)
  3. convertMilisecondsToDisplay(Integer milliseconds, int fps)
  4. convertSeconds(String sStartSeconds, String sEndSeconds)
  5. convertSecondsToDays(double secs)
  6. convertSecondsToMiliseconds(double seconds)
  7. convertSecondsToMiliseconds(int secondsToConvert)