Java Number Round round(int start, int boundary)

Here you can find the source of round(int start, int boundary)

Description

round

License

Open Source License

Declaration

public static int round(int start, int boundary) 

Method Source Code

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

public class Main {
    public static int round(int start, int boundary) {
        return (start + boundary) & ~boundary;
    }/*  w  w w  .j a v a2  s .  c om*/
}

Related

  1. round(final long timeMs, final int precision)
  2. round(int a, int cutOfDigits)
  3. round(int f)
  4. round(int n)
  5. round(int t, int n, int decimals)
  6. round(int top, int div2, int divisor)
  7. round(int x, int quantum)
  8. round(Integer a)