Remainder

Find the remainder after the division of one number by another.

Input

Field Definition Type Required
number Dividend value (number being divided). Number TRUE
divide by Divisor value (number to divide by). Number TRUE

Output

Field Definition Type
remainder Remainder after a division is calculated. Number

Example

If number is 13 and divide by is 5, then remainder is 3 (13 % 5 = 2, with a remainder of 3).

If number is 31 and divide by is 10, then remainder is 1 (31 % 10 = 3, with a remainder of 1).

Related topics

Functions in Workflows

About the elements of Okta Workflows