This function returns dividend - divisor * n, where n is the closest integer to dividend/divisor.

Check the function round() to learn more about the closest integer.


The number divisor cannot be equal to 0.


 remainder(dividend, divisor) #Output: Number



Parser expressionDescription


remainder(3,4)


This example returns:

-1.0

3 - 4 * 3/4 = 3 - 4 * 0.75 → 3 - 4 * 1= -1




Parameters used in this function

ParameterInput (data type)Description
dividend

Any given number or numeric field code.
divisor

Any given number other than 0.



This function returns a



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

%{3 - 4*round(3/4)}







Status
Tech review

Style guide




Short descriptionReturns dividend - divisor * n, where n is the closest integer to dividend/divisor.
Output

Label