MODULO

Returns the remainder of a division operation.

Syntax 

MODULO(numerator, denominator)

Usage 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 

Transform
My Action
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.

Transform
My Action
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.

Transform
My Action
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?