#! /usr/bin/perl
# Decimal to Hex converter by jlewis@inorganic5.chem.ufl.edu
# This script may be freely copied, distributed, modified, used, etc....but
# cannot be sold.
#
# Use at your own risk...like there's really anything remotely harmful in
# here...but I have to say it.
#
# To use it, just make it an executable file, (chmod 755) and say
# ./hex 128 128 128

foreach $num (@ARGV) {
	print "0" if ($num < 16); 
	printf("%lX",$num);
}
print "\n";


