Java Nano Second Convert nanoToSecs(final long nanoTime)

Here you can find the source of nanoToSecs(final long nanoTime)

Description

nano To Secs

License

Open Source License

Declaration

public static float nanoToSecs(final long nanoTime) 

Method Source Code

//package com.java2s;
/*/*from   w w w . j  a va2  s  . co  m*/
 *  Copyright (C) 2011-2014 Brian Groenke
 *  All rights reserved.
 * 
 *  This file is part of the 2DX Graphics Library.
 *
 *  This Source Code Form is subject to the terms of the
 *  Mozilla Public License, v. 2.0. If a copy of the MPL 
 *  was not distributed with this file, You can obtain one at 
 *  http://mozilla.org/MPL/2.0/.
 */

public class Main {
    public static float nanoToSecs(final long nanoTime) {

        return nanoTime / 1000000000.0f;
    }
}

Related

  1. nanoToMilli(double nanoseconds)
  2. nanoToMs(final long nano)
  3. nanoToMsConverter(long time)
  4. nanoToSec(Long n)
  5. nanoToSeconds(double nano)
  6. nanoToStr(long tsp)
  7. nowInNanoseconds()
  8. parseNanoseconds(String s)
  9. stringToNanoseconds(String time)