Converts positive octal values to integers.
-
w
-
specifies the width of the input field.
-
d
-
specifies the power of 10 by which to divide
the value. This argument is optional.
Range: |
1-31 |
Restriction: |
must be greater
than or equal to the w value. |
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).
input @1 value octal3.1;
Data Line |
Results |
----+----1
|
|
177
|
12.7
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.