> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66-de/clearlines-funktionen/mathematische-funktionen/bintohex.md).

# BINTOHEX

Liefert die hexadezimale Darstellung eines binären Werts zurück.

#### Syntax

**BINTOHEX**(*binValue*)

1. *binValue* - der binäre Wert, der in einen hexadezimalen Wert umgewandelt werden soll - ***Wertetyp:** Text*

#### Bemerkungen

1. Die Funktion gibt die hexadezimale Darstellung von *binValue* zurück, als Text in Kleinbuchstaben (z.B. "ffaa88").&#x20;
2. Dezimalstellen von *binValue* werden ignoriert.&#x20;
3. Ein negativer *binValue* gibt einen negativen hexadezimalen Wert zurück.

**Beispiele**

*Beispiel 1* - BINTOHEX für einen einzelnen Wert:

<figure><img src="https://2264115400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5AXM9De6LygFtEaDe5ri%2Fuploads%2FZVmMYcnRf2dV4iF1VUZT%2Fgrafik.png?alt=media&amp;token=66039e86-2e3b-42ca-a7d7-b49767a362f1" alt=""><figcaption></figcaption></figure>

Beispiel 2 - BINTOHEX für einen Bereich von Werten:

<figure><img src="https://2264115400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5AXM9De6LygFtEaDe5ri%2Fuploads%2Fb5017b6cdGkNg83sxrFX%2Fgrafik-1.png?alt=media&amp;token=ee18b99d-4164-4045-b6c8-6425f6cef1bf" alt=""><figcaption></figcaption></figure>
