ProtoFlux:Value Abs: Difference between revisions

From Resonite Wiki
Created a page for the Value Abs node.
 
Added a suggestion note.
 
Line 15: Line 15:


You can think of using this node as "the distance from 0".
You can think of using this node as "the distance from 0".
{{Note|If you just need a value to be the opposite sign, use the [[ProtoFlux:Value Negate|Value Negate]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 15:23, 27 June 2024

Abs
N
*
Math

The Value Abs node takes in a value and returns a value without its sign. Although, it would be truly impossible to have no sign on a value when it needs to be represented and stored in a computer device (and also mathematically sound), so it returns as a positive number (no matter what is provided as a value).

You can think of using this node as "the distance from 0".

If you just need a value to be the opposite sign, use the Value Negate node instead.

Inputs

N (Pseudo-Generic)

The value we want to become unsigned.

Outputs

* (Pseudo-Generic)

The unsigned value.

See Also