Click or drag to resize

FortranLibAMod 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 float AMod(
	float a1,
	float a2
)
Request Example View Source

Parameters

a1  Single
A divisor.
a2  Single
A dividend.

Return Value

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