hex("ab") : hex « Data Type « Perl






hex("ab")

   

print hex("ab") , "\n";
print hex("Ab") , "\n";
print hex("aB") , "\n";
print hex("AB") , "\n";

   
    
    
  








Related examples in the same category

1.hex("10"), hex("0x10")
2.Convert decimal to hex
3.Illegal Hex number with G
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