OCTALw. Format

Converts numeric values to octal representation.

Category: Numeric
Alignment: Left

Syntax

OCTALw.

Arguments

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

Statements
Results
 
----+----1
select put (3592, octal16.);
007010

See Also

Formats:
Last updated: February 23, 2017