FLOAT2HEX

Converts a floating point number to hexadecimal. Floating point numbers are represented as a 32bit-IEEE-754 number.

Syntax

=FLOAT2HEX(Number)

Arguments

NameDescription
NumberThe floating point number to convert.

Return Value

The hexadecimal number or a #NUM! error if given number is not a valid floating point number.

Example

FunctionResultComment
=FLOAT2HEX(2.567)402449BAconverts floating point 2.567 to hexadecimal