IMath.Quotient

Syntax

Quotient(Numerator: Double; Denomiator: Double): Integer;

Parameters

Numerator. Dividend

Denomiator. Divisor.

Description

The Quotient method returns an integer part of the dividend on dividing two decimal numbers.

Comments

Value of the Denomiator parameter cannot be equal to 0.

Example

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

Sub UserProc;
Var
    r: Integer;
Begin
    r := Math.Quotient(4.53.1);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the integer part of the dividend equal to 1.

See also:

IMath