Skip to content

OpenBIMRL | Mathematical operator functions

Class path: math.operators.modulus

Modulo

modulus1.png

Description

The modulo node performs a division of two numbers and returns the remainder of the division.

Input

Input Name Type Description
0 A Number Number that is divided (Dividend)
1 B Number Number by which is divided (divsior)

Output

Output Name Type Description
0 A%B Number The rest of the division Input0/Input1

Use/Example

modulus2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself