Summary:
Returns the remainder resulting from the division of a specified number by
another specified number.
Parameters:
y:
A divisor.
x:
A dividend.
Returns:
A number equal to x - (y Q), where Q = Math.Truncate(x/y)
Namespace: DotNumerics.FortranLibraryAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int Mod(
int a1,
int a2
)
Public Shared Function Mod (
a1 As Integer,
a2 As Integer
) As Integer
Request Example
View SourceParameters
- a1 Int32
- A divisor.
- a2 Int32
- A dividend.
Return Value
Int32A number equal to x - (y Q), where Q = Math.Truncate(x/y)
See Also