Abs
DataTarget independent
math.absoluteAbsolute value of X (negatives become positive).
Example use
For example, take the absolute value of -3 to get 3, then connect the result to a numeric input.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 1
- Value
valueNumber The value operated on; supply structured data of the type shown and see the node description for its role.
Default availableDefault:0
Data outputs 1
- Result
resultNumber The result of this data operation, with its type determined by the matching inputs.
Version and node identity
Version 1.0.0
sha256:e0343486fba8c99235f133f3d3220436ad1e6de7d67fab03a707d94957c83e80