IEuclidean Ring Operations<T>.Integer Divide Method
Definition
Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Integer | Divides a value by another and discards the remainder. |
Integer | Divides a value by another using the specified rounding mode and discards the remainder. |
IntegerDivide(T, T)
Divides a value by another and discards the remainder.
T IntegerDivide(
T a,
T b
)
Parameters
Return Value
TThe quotient of a and b. The quotient is always rounded towards zero.
IntegerDivide(T, T, RoundingMode)
Divides a value by another using the specified rounding mode and discards the remainder.
T IntegerDivide(
T a,
T b,
RoundingMode roundingMode
)
Parameters
- a T
- The dividend.
- b T
- The divisor.
- roundingMode RoundingMode
- The rounding mode.
Return Value
TThe quotient of a and b. The quotient is always rounded towards zero.