Modulus()

Math::Modulus(T, T) method

Calculates the remainder resulting from the division one specified value by another specified value.

template<class T> static T System::Math::Modulus(T x, T y)

Template parameters

ParameterDescription
TThe type of the method’s arguments

Arguments

ParameterTypeDescription
xTThe dividend
yTThe divisor

Return Value

The reminder resulting from the division of x by y

See Also