Skip to main content

Tohex

ToHex (Functie)​

Format

ToHex ( numerieke_uitdrukking )

geeft tekst_uitdrukking terug

Description

Deze functie zet het gehele deel van het getal om naar een hexadecimale string (grondtal 16). Hexadecimaal kent 16 verschillende waarden per cijfer: daarvoor gebruik je de tekens 0-9 en a-f.

Example

For t = 1 to 10
print ToHex(t)
next t

Resultaat:

1
2
3
4
5
6
7
8
9
a

Zie ook​

FromBinary, FromHex, FromOctal, FromRadix,ToBinary, ToHex, ToOctal, ToRadix

Geschiedenis​

0.9.9.45Nieuw in deze versie