nmod
|
The nmod function divides two numbers and returns the remainder.
The nmod function performs an integer divide, but the operands and result
is type Number. The nmod function does not perform type checking or type
conversion on the operands
Usage The nmod built-in function is a simple but very fast numeric remainder
function that assumes that all of its arguments are type Number. The nmod
built-in function is used to determine if a Number will divide evenly into another
Number (the remainder will be zero in this case). Some software vendors supply
libraries may have a function named remainder that performs the same
action as nmod. An alternate function, is the mod function,
which performs type checking and type conversion on numeric operands.
(nmod num1 num2, ... ) The remainder resulting from the integer division. The result is expressed as a Number.
Expression:
Arguments
Name
Type
Description Argument: num1 Number
A Number dividend Argument: num2 Number
The Number divisor.
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 | Void |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|