Skip to content
mouse114514 edited this page Sep 12, 2026 · 1 revision

Math Operation

Math Operation

Overview

Performs an arithmetic operation on two numbers.

Slots

Slot Type Description
A Number slot left operand
B Number slot right operand

Dropdown Options

Field Option Value Meaning
OP Add ADD A + B
OP Subtract SUB A − B
OP Multiply MUL A × B
OP Divide DIV A ÷ B
OP Modulo MOD A % B
OP Power POW A to the power of B

Connections

Connection Type Description
Output Number the result

Generated Code

Emits (A +|-|*|/|%|** B).

Block ID: cu_math_op


中文 | Value Reporter Blocks | Block Reference

Clone this wiki locally