Numeric types
Many functions in a Structure strategy accept the Numeric type.
In practice, that means the function can work with numeric values without forcing you to think about the exact runtime representation every time.
How Numeric works
Section titled “How Numeric works”When a function accepts Numeric, Structure safely uses the integer or decimal form when one is available.
If there is no specific integer or decimal form available, Structure treats the value as a decimal under the hood.
From a user point of view, this mostly matters when you are wiring values into memory writes or group inputs.
Why some integer values fail validation
Section titled “Why some integer values fail validation”Because Numeric falls back to decimal behavior, some places in the editor expect a decimal input even when the value looks like a whole number.
That is why feeding a direct integer into a numeric memory write or a group input typed as numeric can raise a validation error.
In those cases, you should wire a decimal typed value when possible.
Practical takeaway
Section titled “Practical takeaway”If a strategy field or function accepts Numeric, it usually behaves smoothly across numeric values.
But when writing into numeric memory or feeding a numeric group input, decimal is the safe choice and avoids validation issues.