OCTALw.d Informat

Converts positive octal values to integers.

Category: Numeric

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).

Example

input @1 value octal3.1;
Data Line
Result
----+----1
177
12.7