in reply to Re^2: Decoding binary information
in thread Decoding binary information
use strict; use warnings; my $value; $value = -725850; printf "Hex value 0x%08lX = %ld (decimal)\n", $value, $value; $value = -725858; printf "Hex value 0x%08lX = %ld (decimal)\n", $value, $value __END__ # Output: Hex value 0xFFF4ECA6 = -725850 (decimal) Hex value 0xFFF4EC9E = -725858 (decimal)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Decoding binary information
by njcodewarrior (Pilgrim) on Feb 10, 2007 at 18:25 UTC | |
by liverpole (Monsignor) on Feb 10, 2007 at 18:43 UTC |