FORMULA LANGUAGE


@Modulo
Example

Returns the remainder of a division operation.

Syntax

@Modulo( number1 ; number2 )

Parameters

number1


number2
Return value

remainder


Usage

A common use of @Modulo is to determine whether a number is odd or even; if the result of @Modulo(number;2) is 1, the number is odd; if the result is 0, the number is even.

When using this function with a number list, the list concatenation operator takes precedence over any other operators; negative numbers must be enclosed in parentheses.

Language cross-reference

Mod operator of LotusScript language

Example
See Also