Java floor floor_double_long(double d)

Here you can find the source of floor_double_long(double d)

Description

floodoubllong

License

Open Source License

Declaration

public static long floor_double_long(double d) 

Method Source Code

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

public class Main {
    public static long floor_double_long(double d) {
        long l = (long) d;
        return d >= (double) l ? l : l - 1L;
    }/*from  w w w . j av a2  s.  c  om*/
}

Related

  1. floor10(double a)
  2. floor1e5(double coordinate)
  3. floor2(int a, int preserveDigits)
  4. floor_double(double a)
  5. floor_double(double value)
  6. floor_float(float f)
  7. floorAndCrop(final double x, final int min, final int max)
  8. floorData(float[] data, float floor)
  9. floorDay(long milli)