Sign('Expression')

Description

This function returns the sign of 'Expression' as its result.

'Expression' > 0 --> +1

'Expression' = 0 --> 0

'Expression' < 0 --> -1

Example

Only the sign from a measured value is relevant.

Solution

In the figure below the blue curve shows the measured value and the red curve shows the sign of the measured value.