Thread Rechnen mit Hex (2 answers)
Opened by Gast at 2007-08-18 18:14

Daxim
 2007-08-19 12:03
#98375 #98375
User since
2007-08-01
114 Artikel
BenutzerIn
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
my @all_hex = qw(A1B2 C3D4);
my $mul = hex($all_hex[0]) * hex($all_hex[1]);
print "dez: $mul\n";
$mul = sprintf '%x', $mul;
print "hex: $mul\n";

View full thread Rechnen mit Hex