hex("10"), hex("0x10") : hex « Data Type « Perl






hex("10"), hex("0x10")

   

print hex("10") , "\n";
print hex("0x10") , "\n";

   
    
    
  








Related examples in the same category

1.hex("ab")
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