Java Number Round roundUpLong(long value, long interval)

Here you can find the source of roundUpLong(long value, long interval)

Description

round Up Long

License

Open Source License

Declaration

public static long roundUpLong(long value, long interval) 

Method Source Code

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

public class Main {
    public static long roundUpLong(long value, long interval) {
        return ((value + interval - 1) / interval * interval);
    }/*from ww  w .  jav a 2 s .com*/
}

Related

  1. roundUp(long val, long delta)
  2. roundup_2n(long val, int blocksize)
  3. roundUpDivision(final int dividend, final int divider)
  4. roundUpDown(int number, int by)
  5. roundUpIfNecessary(long timeout, long convertedTimeout)
  6. roundUpLong(long x, long blockSizePowerOf2)
  7. roundUpNumberByUsingMultipleValue(double number, double multiple)
  8. roundUpPOT(int value)
  9. roundUpPow2(int x)