For a better experience, we recommend the United States website, which has content more relevant to your location.

Close Banner
🇺🇸 United States Chevron Down
  • 🇺🇸 United States
  • Choose country or region
Close Banner

Modulo

Divides analogue values as integers or decimals and outputs the remainder of the division.

Table of Contents


Outputs

Abbreviation Summary Description Value Range
Int Integer Result of the integer calculation
Dec Decimals Result of the decimal calculation




Parameters

Abbreviation Summary Value Range Default Value
V1-2 Value 1-2 0




Calculation of outputs

(Int) outputs the result of the integer calculation and (Dec) of the decimal calculation in the corresponding data type.

(Int): 13 mod 5 = 3
(Dec): 13.3 mod 5.2 = 2.9