OCTALw. Format

Converts numeric values to octal representation.

Category: Numeric
Alignment: Left

Syntax

OCTALw.

Syntax Description

w

specifies the width of the output field.

Default 3
Range 1–24

Details

If necessary, the OCTALw. format converts numeric values to integers before displaying them in octal representation.

Comparisons

OCTALw. converts numeric values to octal representation. The $OCTALw. format converts character values to octal representation.

Example

put x octal6.;   
Value of x
Result
 
----+----1
3592
007010