i'm trying to solve prog 3... and don't know
What's "0x0"??!
$int=0;
$int+= '0x0'.'50';
its is now 80...
$int=0;
$int+= '0x0'.'100';
int is about 256 ...
i don't understand?!?!?
$number = 12; # thats a number: 12
$string = '0x0' . $number; # thats a string, "0x012"
$int = 0; $int += $string; # $string is converted to integer, $int is now 18 decimal or 0x12 hexdecimal
Users browsing this forum: No registered users and 0 guests