Ken Lehman [mailto:[EMAIL PROTECTED] : : Is there an easy way to go back and forth between : decimal and hex in perl. I know of the hex function : which solves my hex to dec problem but how about a : dec->hex function or module? I need the value which : is why printf isn't working for me.
Are you aware of 'sprintf'? my $decimal_value = 10; my $hex_value = sprintf '%x', $decimal_value; HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]