Skip to content

Modulo

Symbol

Description

Output is equal to the remainder of the Euclidean division of the input by the divisor.

Note: this modulo block is using the mathematical definition (using the floor function). The return value is value of the sign of the divisor.

Library

Control > Math

Parameters

Property Display Name Parameter Type Description
Divisor Divisor DoubleParameter Divisor
SamplingTime Sampling Time [s] DoubleParameter Sampling Time

Pins

Property Pin Name Type Description
In In ControlIn Input
Out Out ControlOut Output

Default Size

Width Height
4 4