Sign

Sign

Logic name

Sign (Document Mapper/Variable Mapper/Merge Mapper)

Function

This logic returns 1, 0, or -1 respectively when a input number is positive, zero or negative.

Data types

Location

Type

First input handler

Numeric

Logic output

Numeric

= Hint =

Refer to the following for details:

Properties

Category

Property

Description

Comment

Comment

You can write a description of the logic. It doesn't affect the conversion process.

Logic sample

Mapping definition

Logic settings and processing result

The logic outputs an integer to indicate a sign of the input data ("1" for positive, "-1" for negative, "0" for zero).

Property settings

Property

Setting

None

 

Input data

2.3

-2.3

0

Output data

1

-1

0

 

= Hint =

For a list of logics, refer to Mapper Logic Guide.