NextMultipleOf
Returns the first multiple of specified multiple greater or equal to the specified value.
- Parameters:
-
| multiple | the multiple to align the value with |
| value | for which the smallestmulitple must be returned. |
- Returns:
- the smallest multiple of the specified multiple greater or equal to the specified value.
- Note:
- No overflow checking is done.
( 8, 15 ) == 16, and NextMultipleOf( 8, 16 ) == 16.