Click or drag to resize

FortranLibMod Method

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.FortranLibrary
Assembly: 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
)
Request Example View Source

Parameters

a1  Int32
A divisor.
a2  Int32
A dividend.

Return Value

Int32
A number equal to x - (y Q), where Q = Math.Truncate(x/y)
See Also