Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
hex("FFG") : hex « Data Type « Perl
Perl
Data Type
hex
hex("FFG")
#!/usr/bin/perl -w print hex(
"FFG"
),
"\n"
;
Related examples in the same category
1.
hex("10"), hex("0x10")
2.
hex("ab")
3.
Convert decimal to hex
4.
Illegal Hex number with G
5.
Hexadecimal and octal numbers
6.
Hexadecimal number
7.
Using hex function to convert octal number to Hexadecimal number
8.
hex digit
9.
hexadecimal data