modi
|
The modi function divides two numbers and returns the remainder. The modi
function performs an integer divide, and the result is type Integer (See Native Types).
Usage The modi function is analogous to the remainder function in other systems.
It is useful for determining if a number will divide evenly into another number
(the remainder will be zero in this case).
(modi dividend divisor) The remainder after computing an integer divide. The result is expressed as a number.
Expression:
Arguments
Name
Type
Description Argument: dividend Number
The number to be divided (will be converted to an integer before divide) Argument: divisor Number
Divide by this number (will be converted to an integer before divide)
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Number | Integer |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|