-
Notifications
You must be signed in to change notification settings - Fork 0
cu_math_func en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Applies a math function to a value: round, absolute, square root, or negate.
| Slot | Type | Description |
|---|---|---|
| NUM | Number slot | the input value |
| Field | Option | Value | Meaning |
|---|---|---|---|
| FUNC | Round | ROUND |
round to nearest integer |
| FUNC | Absolute | ABS |
absolute value |
| FUNC | Square root | SQRT |
square root |
| FUNC | Negate | NEG |
change sign |
| Connection | Type | Description |
|---|---|---|
| Output | Number | the function result |
- ROUND →
(int)System.Math.Round(NUM) - ABS →
System.Math.Abs(NUM) - SQRT →
System.Math.Sqrt(NUM) - NEG →
(-NUM)
Block ID: cu_math_func