You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

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

The number divisor cannot be equal to 0.

Syntax
 remainder(dividend, divisor) #Output: Number
Examples
Parser expressionDescription
remainder(3,4)

This example returns -1.0

3-4*(0.75) = 3-4*1= -1



Additional information

Parameters used in this function

ParameterInput (data type)Description
dividend

NUMBER

Any given number.
divisor

NUMBER

Any given number other than 0.
Output

This function returns a NUMBER