Previous Page | Next Page

Informats

OCTALw.d Informat



Converts positive octal values to integers.
Category: Numeric

Syntax
Syntax Description
Details
Examples

Syntax

OCTALw.d

Syntax Description

w

specifies the width of the input field.

Default: 3
Range: 1-24
d

specifies the power of 10 by which to divide the value. This argument is optional.

Range: 1-31
Restriction: must be greater than or equal to the w value.

Details

Use only the digits 0 through 7 in the input, with no embedded blanks. The OCTALw.d informat ignores leading and trailing blanks.

OCTALw.d cannot read negative values. It treats all input values as positive (unsigned).


Examples

input @1 value octal3.1;

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

177
12.7

Previous Page | Next Page | Top of Page