beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Sign Op

Ops.Math.Sign


Sign
Namespace: Ops.Math

Op author: action

get sign of value


summary (oneliner)

result is 1 if value is positive or -1 if value is negative



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Value (Number)

Remove zero (boolean /Number)

Outputs

Result (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

compare tests

Open Example In Editor


Patches using Sign