Illegal Hex number with G : hex « Data Type « Perl






Illegal Hex number with G

   

#!/usr/bin/perl -w

print 0xFG,       "\n";

   
    
    
  








Related examples in the same category

1.hex("10"), hex("0x10")
2.hex("ab")
3.Convert decimal to hex
4.Hexadecimal and octal numbers
5.Hexadecimal number
6.Using hex function to convert octal number to Hexadecimal number
7.hex digit
8.hex("FFG")
9.hexadecimal data