> How can I convert a Decimal number to a string representing 
> an Hexa Number.
> Ex:    255 --> FF

like this:

$dec = 255;
$str = sprintf "%X", $dec;

Use the hex() function to convert strings representing hexadecimal back to
decimal.

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to