IEuclideanRingOperations<T>.IntegerDivide Method

Definition

Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

IntegerDivide(T, T) Divides a value by another and discards the remainder.
IntegerDivide(T, T, RoundingMode) 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.
C#
T IntegerDivide(
	T a,
	T b
)

Parameters

a  T
The dividend.
b  T
The divisor.

Return Value

T
The 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.
C#
T IntegerDivide(
	T a,
	T b,
	RoundingMode roundingMode
)

Parameters

a  T
The dividend.
b  T
The divisor.
roundingMode  RoundingMode
The rounding mode.

Return Value

T
The quotient of a and b. The quotient is always rounded towards zero.

See Also