|
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
When to use 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.
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. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types num1 A Number dividend Number num2 The Number divisor. Number
Returns:
Examples
Argument Types
Number
Void
How do I contact the AIS team?