Previous Page | Next Page

Informats

TRAILSGNw. Informat



Reads a trailing plus (+) or minus (-) sign.
Category: Numeric

Syntax
Syntax Description
Details
Examples

Syntax

TRAILSGNw.

Syntax Description

w

specifies the width of the input field.

Default: 6
Range: 1-32

Details

If the data contains a decimal point, the TRAILSGN informat honors the number of decimal places that are in the input data. If the data contains a comma, the TRAILSGN informat reads the value, ignoring the comma.


Examples

input x trailsgn8.;

Data Line Results
----+----1----+

1
1
1,000
1000
1+
1
1-
-1
1.2
1.2
1.2+
1.2
1.2-
-1.2

Previous Page | Next Page | Top of Page