This function returns dividend - (divisor * floor(dividend / divisor)).
The following functions are used:
Syntax
modulus(dividend, divisor) #Output: Number
The number divisor cannot be equal to 0.
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
This function returns dividend - (divisor * floor(dividend / divisor)).
The following functions are used:
modulus(dividend, divisor) #Output: Number
Parser expression | Description |
---|---|
modulus(4,2) | This example returns 0.0 4 - (2* floor(4/2)) = 4 - (2*2) = 0 |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
dividend | NUMBER | Any given number. |
divisor | NUMBER | Any given number other than 0. |
This function returns a NUMBER
Powered by Atlassian Confluence 8.5.16, themed by Refined 7.6.0 and Decadis AG