FLOAT.TO.HEX
Converts a floating point number to hexadecimal. Floating point numbers are represented as a 32bit-IEEE-754 number.
Syntax
=FLOAT.TO.HEX(Number)
Arguments
Name | Type | Description |
---|---|---|
Number | Number | The floating point number to convert. |
Return
Type | Description |
---|---|
Number or Error | The hexadecimal number or a #NUM! error if given number is not a valid floating point number. |
Examples
Formula | Result | Comment |
---|---|---|
| 402449BA | converts floating point 2.567 to hexadecimal |