Chapter Contents

Previous

Next
OCTALw.d

OCTALw.d



Converts positive octal values to integers

Category: Numeric


Syntax
Syntax Description
Details
Examples

Syntax

OCTALw.d

Syntax Description

w
specifies the width of the input field.
Default: 3
Range: 1-24

d
optionally specifies the power of 10 by which to divide the value.
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).


Examples

input @1 value octal3.1;

Data Lines Results
----+----1

177
12.7


Chapter Contents

Previous

Next

Top of Page

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