- or download this
DB<17> p 0x05/0x10
0.3125
DB<18> p int(0x05/0x10)
0
- or download this
DB<25> p int(0x05/"\x10")
Illegal division by zero at (eval 33)[C:/Perl_64/lib/perl5db.pl:646] l
+ine 2.
- or download this
DB<31> p "05"/"16" # strings with decimal(!) numbers
0.3125
- or download this
DB<27> p ord("\x10")
16
DB<28> p "\x10"
► # not a number, hence 0
- or download this
DB<1> p ord("1")
49
...
DB<4> p 5 / "\x31\x36" # string = "16" looks like number
0.3125