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, then the TRAILSGN informat honors the number of decimal places that are in the input data.


Examples

input x trailsgn8.;

When the data line is... The result is...
----+----1----+

1
1
1+
1
1-
-1
1.2
1.2
1.2+
1.2
1.2-
-1.2

space
Previous Page | Next Page | Top of Page