aspcore.utilities.next_divisible
- aspcore.utilities.next_divisible(divisor, min_value)
Gives the smallest integer divisible by divisor, that is strictly larger than min_value
- Parameters:
divisor (int) – The number to be divisible by
min_value (int) – The smallest acceptable value
- Returns:
next_divisible_number – The smallest integer satisfying the conditions
- Return type:
int