1. Docs
  2. Formulas
  3. Functions

MODULO

Returns the remainder of a division operation.

Categories: Numbers

Syntax

MODULO(numerator, denominator)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"message": 3
4
}
5
}

Formula

MODULO(my_action.message, 2)

Output

1

Example 2

Input

1
{
2
"my_action": {
3
"message": 48
4
}
5
}

Formula

MODULO(my_action.message, 5)

Output

3

Example 3

Input

1
{
2
"my_action": {
3
"message": 67.28
4
}
5
}

Formula

MODULO(my_action.message, 12)

Output

7.28

Sample actions

Event Transform
My Action
Event Transform
MODULO

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Event Transform
My Action
Event Transform
MODULO

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Event Transform
My Action
Event Transform
MODULO

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?