Absolute Value

The absolute value function (abs) removes the negative sign from an input value, if present.

Interface

Inputs

ParameterDetailsPossible Types
Value

The number to be made positive.

Primary Input

Vec2[]
Vec2
f32[]
f32
f64[]
f64
i32[]
i32
i64[]
i64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]
i32
i32[]
i64
i64[]
Vec2
Vec2[]