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

Compare with Current View Page History

« Previous Version 4 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 closes integer.

The divisor cannot be equal to 0.

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

This example returns -1

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 different than 0.
Output

This function returns a NUMBER