Show TOC

@MODLocate this document in the navigation structure

The MOD function performs a modulus operation on its two parameters, dividing the first by the second and returning the remainder. The parameters are evaluated as either decimal or integral numbers, matching the context of the function.

Parameters
    @MOD (Dividend, Divisor)
  • Dividend Required parameter evaluated as either an integral or decimal number matching the context of the function call. Contains the dividend value, or the value to be divided by Divisor.
  • Divisor Required parameter evaluated as either an integral or decimal number matching the context of the function call. Contains the divisor value, or the value to be divided into Dividend.
Supported Return Types
  • Integral Number
  • Decimal Number