Skip to main content
Version: Streamsheets 3.0

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

NameTypeDescription
NumberNumberThe floating point number to convert.

Return

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

Examples

FormulaResultComment
=FLOAT.TO.HEX(2.567)
402449BAconverts floating point 2.567 to hexadecimal