HEXw. Informat: Windows

Converts hexadecimal positive binary values to fixed-point or floating-point binary values.
Category: numeric
Alignment: left
Windows specifics: native floating-point representation
See: HEXw. Informat in SAS Formats and Informats: Reference

Syntax

HEXw.

Required Argument

w
specifies whether the input represents an integer (fixed-point) or a real (floating-point) binary number. When you specify a w value of 1 through 15, the input hexadecimal value represents an integer binary number. When you specify 16 for the w value, the input hexadecimal value represents a floating-point value.
Default:8
Range:1–16

Details

The HEXw. informat expects input that is not byte-reversed, not in Windows form. (The IB, PIB, and RB informats for binary numbers expect the bytes to be reversed.) You can use the HEXw. informat to read hexadecimal literals from SAS programs that were created in another environment.