programming-examples/perl/Datatype/hex(10), hex(0x10).pl

2 lines
50 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
print hex("10") , "\n";
print hex("0x10") , "\n";