Skip to main content

modulo

Calculate the remainder of the division of two numbers

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 weeks ago

Category: Math Kind: Operation Description: Calculate the remainder of the division of two numbers

Modulo Operation: The process of finding the remainder of a division.

Remainder: The value that is left over after a division is performed.

For example, if you divide 14 by 3, the answer is four, but there are still two left over. That leftover 2 is the remainder - or the result of the modulo.

Inputs

Name

Abbreviation

Type

Access

Description

A

A

Number

Item

First number

B

B

Number

Item

Second number

Outputs

Name

Abbreviation

Type

Access

Description

Remainder

R

Number

Item

The remainder of the division of the two numbers

How to

  1. Feed in a number

    1. This could be the a numeric result of another node

    2. Or, you can use a number node

    3. Or, you can type numbers into the boxes

    4. If you need to process multiple numbers in a list, use the map node

  2. The result is the remainder after dividing the first number by the second number

Did this answer your question?