| Formats |
| Category: | Numeric |
| Alignment: | left |
| Syntax | |
| Syntax Description | |
| Comparisons | |
| Examples |
Syntax |
| BINARYw. |
| Comparisons |
BINARYw. converts numeric values to binary representation. The $BINARYw. format converts character values to binary representation.
| Examples |
put @1 x binary8.;
| Value of x | Results |
|---|---|
|
|
----+----1 |
123.45 |
01111011 |
123 |
01111011 |
-123 |
10000101 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.