hex Function

Purpose:

To return the hexidecimal represenation of a number

Syntax:

hex(value)

Comments:

 

Example:

print hex(17)

00000011