IMath.Mod_

Syntax

Mod_(Value: Double; Divisor: Double): Double;

Parameters

Value. Dividend.

Divisor. Divisor.

Description

The Mod_ method returns the remainder from dividing of two decimal numbers.

Comments

Values of input parameters cannot be empty.

Value of the Divisor parameter cannot be equal to 0.

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.Mod_(832.6);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the dividend equal to 2.4.

See also:

IMath