Инструменты пользователя

Инструменты сайта


en:autorun:documentation:hex

Hex

Hex(<number> [, <minlen>])

The function is designed to convert a number to a string with a hexadecimal representation. The function does not add any prefixes.

Parameters

numberThe number to convert.
minlenThe minimum length of the result. Insignificant digits will be padded with zeros.

Examples

Hex(123456)    # --> "1E240"
Hex(123456, 8) # --> "0001E240"

Remarks

The maximum number that can be converted is an unsigned 64-bit integer.

en/autorun/documentation/hex.txt · Последнее изменение: 2022/11/01 19:17 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki