Java Millisecond Convert toMilliseconds(long nanoSeconds)

Here you can find the source of toMilliseconds(long nanoSeconds)

Description

to Milliseconds

License

Open Source License

Declaration

public static Double toMilliseconds(long nanoSeconds) 

Method Source Code

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

public class Main {
    private static final Double MILLISECONDS = 1000000D;

    public static Double toMilliseconds(long nanoSeconds) {
        return nanoSeconds / MILLISECONDS;
    }//from www .  java 2  s  . co  m
}

Related

  1. millisToWords(long millis)
  2. toMillis(int seconds)
  3. toMillis(int timeInSecs)
  4. toMillis(long nanos)
  5. toMilliSeconds(float t)
  6. toMilliseconds(long nanoseconds)
  7. toMilliseconds(long second)
  8. toMilliseconds(long seconds, long nanos)
  9. toMilliseconds(Object value)