This function returns the remainder after division of the dividend by the divisor.
Syntax
modulus(dividend, divisor) #Output: Number
The number divisor cannot be equal to 0.
Use cases and examples
Use case |
---|
No content found. |
This function returns the remainder after division of the dividend by the divisor.
modulus(dividend, divisor) #Output: Number
Parser expression | Description |
---|---|
%{modulus(4,2)} | This example returns: 0 |
%{modulus(3,2)} | This example returns: 1 |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
dividend | NUMBER | Any given number or numeric field code. |
divisor | NUMBER | Any given number other than 0 or numeric field code. |
This function returns a NUMBER
Use case |
---|
No content found. |
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG