This function returns dividend - (divisor * floor(dividend / divisor)).

The following functions are used:


modulus(dividend, divisor) #Output: Number


The number divisor cannot be equal to 0.



Parser expressionDescription


modulus(4,2)


This example returns 0.0



4 - (2* floor(4/2)) = 4 - (2*2) = 0





Parameters used in this function

ParameterInput (data type)Description
dividend

Any given number.
divisor

Any given number other than 0.



This function returns a





Status
Tech review

Style guide




Short descriptionReturns dividend - (divisor * floor(dividend / divisor)).
Output

Label