seezee
1
In the example on page 184 of the 1st printing of Simply Javascript, the authors include this line:
SoccerBall.originX = parseInt(
Core.getComputedStyle(SoccerBall.div, "left"), 10);
This code calculates the animated soccer ball’s starting position. My question is, what is the significance of the interger ‘10’ in the example?
Thanks,
–cz
seezee
2
Ok, thanks. I actually ran across a reference to this earlier today & didn’t make the connection.
Cheers,
–cz
The 10 represents the radix (A number from 2 to 36 that represents the numeral system to be used).
If you need any more info I suggest you google it, you will find all the info you need