logo
Home XtGem- Templates- XtScript- bottom
XtGemmanual

XtScript functions

dechex

Converts decimal numbers to hexadecimal

Syntax

[var $... = ]call dechex $val=...[...] optional · ... your value

Example

<!--parser:xtscript-->
var $input = 123456
var $output = call dechex $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->

Copy as text

Output reload

input = 123456
output = 1e240

Related

bin2hex hex2bin hexdec

XtGem manual · all sections

Powered by XtGem
About us Contact Forum top