Java floor floor(int number, int divisor)

Here you can find the source of floor(int number, int divisor)

Description

floor

License

Open Source License

Declaration

public static int floor(int number, int divisor) 

Method Source Code

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

public class Main {
    public static int floor(int number, int divisor) {
        return (number / divisor) * divisor;
    }/*  w  ww  .j a  v a 2s . c  o  m*/
}

Related

  1. floor(float f)
  2. floor(float value)
  3. floor(float value)
  4. floor(float x)
  5. floor(int f)
  6. floor(int x, int quantum)
  7. floor(Integer a)
  8. Floor(Object in, int val)
  9. floor(String input)