Formats under UNIX |
Category: | Numeric |
Width range: | 1 to 16 |
Default width: | 8 |
Alignment: | left |
UNIX specifics: | floating-point representation |
See: | HEXw. format in SAS Language Reference: Dictionary |
Details |
Details |
The HEXw. format converts a real (floating-point) binary number to its hexadecimal representation. When you specify a width value of 1 through 15, the real binary number is truncated to a fixed-point integer before being converted to a hexadecimal number. When you specify 16 for the width, SAS writes the floating-point value of the number, but does not truncate it.
Note: UNIX systems vary widely in their floating-point representation. See Reading and Writing Binary Data in UNIX Environments for more information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.