Previous Page
|
Next Page
OCTAL
w
.
d
Informat
Converts positive octal values to integers.
Category:
Numeric
Syntax
Details
Example
Syntax
OCTAL
w
.
d
Syntax Description
w
specifies the width of the input field.
Default:
3
Range:
1–24
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.
Details
Use only the digits 0 through 7 in the input, with no embedded blanks. The OCTAL
w
.
d
informat ignores leading and trailing blanks.
OCTAL
w
.
d
cannot read negative values. It treats all input values as positive (unsigned).
Example
input @1 value octal3.1;
Data Line
Result
----+----1
177
12.7
Copyright © SAS Institute Inc. All rights reserved.
Previous Page
|
Next Page
|
Top of Page