End of support notice: On December 15, 2025, Amazon will end support for Amazon IoT Analytics. After December 15, 2025, you will no longer be able to access the Amazon IoT Analytics console, or Amazon IoT Analytics resources. For more information, see Amazon IoT Analytics end of support.
mod(Decimal, Decimal)
Returns the remainder of the division of the first argument of the second argument. You
can also use %
as an infix operator for the same modulo functionality.
Examples: mod(8, 3)
= 2
Left operand | Right operand | Output |
---|---|---|
|
|
|
|
|
|
|
|
If all strings convert to |
Other Value |
Other Value |
|