modulus
Compute the remainder when dividing a by b, and raise an error if b is zero.
Instructions
Compute the remainder when dividing a by b.
Args: a: The dividend. b: The divisor. Must not be zero.
Returns: The remainder of a divided by b.
Raises: DivisionByZeroError: If b is zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |