# BINTOHEX

#### Syntax

**BINTOHEX**(*binValue*)

1. *binValue* - the binary value which should be converted to a hexadecimal value - ***Value type**: text*

#### Remarks

1. The function returns the hexidecimal representation of *binValue*, as a text in lower letters (like “ffaa88”)
2. A negative *binValue* returns a negative hexadecimal value.

**Examples**

*Example 1* - BINTOHEX of a single value:

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-1d7cb47c434a782003f7dbc0061cfa3924094029%2Fgrafik%20(15).png?alt=media" alt=""><figcaption></figcaption></figure>

*Example 2* - BINTOHEX for a range of values:

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-11cd05c4c97d8026947240c23561a899fcb6b43d%2Fgrafik%20(16).png?alt=media" alt=""><figcaption></figcaption></figure>
