Previous Page | Next Page

Formats

OCTALw. Format



Converts numeric values to octal representation.
Category: Numeric
Alignment: left

Syntax
Syntax Description
Details
Comparisons
Examples

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.


Examples

put x octal6.;   

Value of x Results
 
----+----1
3592
007010

Previous Page | Next Page | Top of Page