hex — converts numbers into hexadecimal form.
hex (number)
Any number.
An integer number in hexadecimal format.
This function casts any number to an integer, and returns it in a hexadecimal representation. Floating point numbers are truncated.
Gamma> hex (12); 0xc Gamma> hex (12.9341); 0xc Gamma> hex (0b111011); 0x3b Gamma> hex ('r'); 0x72 Gamma>
bin, dec, oct
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.