print 0x1234+0x4321;#prints 21845 print '0x1234'+'0x4321';#prints 0 print oct('0x1234')+oct('0x4321); #prints 21845 or $a='0x1234'; $b='0x4321'; print oct($a)+oct($b);
In reply to Re: Hex Question(s)
by nikosv
in thread Hex Question(s)
by deadlock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |