MicroStrategy ONE

Quotient

Returns the integer result of dividing two numbers. This function discards the remainder. This is a single-value function.

Syntax

Quotient(numerator, denominator)

Where:

Numerator is a metric representing a list of real numbers to be used as the dividend.

Denominator is a metric representing a list of real numbers to be used as the divisor.

Usage Notes

Use the Mod function (Mod (modulus)) to retrieve only the remainder.

Example

These simple examples illustrate the results of using the Quotient function.

Function/Result Calculation

Quotient(5, 2) = 2

5/2 = 2 remainder 1

Quotient(83, 9) = 9

83/9 = 9 remainder 2