Skip to main content

Fromhex

FromHex

Format

fromhex ( string )

Description

Retourne l’entier représenté par la chaîne de caractères hexadécimale (base16) string passée en paramètre. La représentation hexadécimale utilise 16 valeurs par digit (0-9 puis a-f).

Exemple

print fromhex("10")
print fromhex("ff")

Affichera\

16
255

Disponible depuis la version

0.9.9.45

Voir Aussi

(See fr:start.)