Basic Overview

Description

Extracts the sign of a number. Positive numbers become 1, negative -1 and zero remains 0.

SyntaxSIGNUM(Node)
Parameter
  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')

Example

Input A =

Year

Product

Value

2019Car-1
2019Truck3
2020Car0
2020Truck-8561451155
2023Car65452141023

Output SIGNUM('A') =

Year

Product

Value

2019Car-1
2019Truck1
2020Car0
2020Truck-1
2023Car1