itox
Previous Topic  Next Topic 

Synopsis:

       hex_val=itox(int_val)        


Arguments:

       int_val - The value to convert to hexadecimal


Description:        This function converts the integer value represented by int_val into a string containing the hexadecimal equivalent.


For example:


       // This will return 10

       hex_val=itox(16);


       // This will return "FF"

       hex_val=itox(255);


       // this will return "101"

       hex_val=itox(257);


Returns:  Returns atring containing the hexadecimal equivalent of the int_val vlaue.