中文
Node Documentation

Integer modulo

DataTarget independentmath.integer-modulo

Computes an integer remainder; a zero divisor fails.

Example use

For example, take the remainder of 7 divided by 3 to get 1; inputs and result remain integers for counts or indexes.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 2

Value AaInteger

The first operand or value to compare; use the type shown below.

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Value BbInteger

The second operand or value to compare; use the type required by this node.

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42

Data outputs 1

ResultresultInteger

The result of this data operation, with its type determined by the matching inputs.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Version and node identity

Version 1.0.0

sha256:8681f62ce0d57235793ff39702184801efea321c3863fe4abe1f9b9e42e1c4db