Chapter Contents

Previous

Next
OCTALw.

OCTALw.



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. The decimal portion is truncated.


Comparisons

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


Examples

put x octal6.;   

Values Results

----+----1
3592
007010


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.