Start » Filter Reference » Basic » Integer » Modulo

Modulo


Module: FoundationLite

Computes remainder of integer division of two numbers.

Name Type Description
Input value
inA Integer
Input value
inB Integer
Output value
outRemainder Integer

Hints

  • This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Divisor is equal to zero on input in Modulo.

Complexity Level

This filter is available on Basic Complexity Level.