Math

For nodes that specifically relate to floating point data types, see MathF.

Add

Adds two values together.

Inputs:

Name
Type
Description

A

Float or Int

The first value to add.

B

Float or Int

The second value to add.

Outputs:

Name
Type
Description

Output

Float or Int

The result of A + B. The type of the output matches the input.

Divide

Divides a number by another number.

Inputs:

Name
Type
Description

A

Float or Int

The value to be divided.

B

Float or Int

The value to divide by.

Outputs:

Name
Type
Description

Output

Float or Int

The result of A / B. The type of the output matches the input.

Modulo

The remainder after A is divided by B.

Inputs:

Name
Type
Description

A

Float or Int

The value to be divided.

B

Float or Int

The value to divide by.

Outputs:

Name
Type
Description

Output

Float

The remainder after the division operation.

Multiply

Multiplies two values together.

Inputs:

Name
Type
Description

A

Float or Int

A value to multiply.

B

Float or Int

A value to multiply.

Outputs:

Name
Type
Description

Output

Float or Int

The result of A x B.

Subtract

Subtracts one value from another.

Inputs:

Name
Type
Description

A

Float or Int

The value to subtract from.

B

Float or Int

The value to subtract.

Outputs:

Name
Type
Description

Output

Float or Int

The result of A - B.

Last updated