Chapter Contents

Previous

Next
HEXw. format

HEXw. format



Converts real binary (floating-point) numbers to hexadecimal representation

Numeric
Width range: 1 to 16
Default width: 8
Alignment: left
UNIX specifics: floating-point representation


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 hex. When you specify 16 for the width, the SAS System 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 for more information.   [cautionend]


Chapter Contents

Previous

Next

Top of Page

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