Java floor floor(double var0)

Here you can find the source of floor(double var0)

Description

floor

License

Open Source License

Declaration

public static int floor(double var0) 

Method Source Code

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

public class Main {
    public static int floor(double var0) {
        int var2 = (int) var0;
        return var0 < (double) var2 ? var2 - 1 : var2;
    }//ww  w  .j  av  a 2  s  .  co m
}

Related

  1. floor(double num)
  2. floor(double num, int bit)
  3. floor(double number, int decimals)
  4. floor(double value, int decimal)
  5. floor(double value, int scale)
  6. floor(double x)
  7. floor(double x)
  8. floor(double x)
  9. floor(double x, double y)