Matija
Morkin Member
The Turtle Moves!
Posts: 1,696
|
Post by Matija on Apr 5, 2004 11:52:08 GMT
I noticed that when transferring soldiers, if you put in a leading zero, the digits represent the powers of eight, eg. 012 = 10, 0106 = 70, etc.
|
|
|
Post by sparrowhawk on Apr 5, 2004 11:58:22 GMT
Interesting! I'll add extra validation to my to do list.
Thanks.
|
|
Ringthane
Public Area Guest
Ardet nec Consumitur
Posts: 5,446
|
Post by Ringthane on Apr 5, 2004 15:10:22 GMT
You mean octal, base 8? Why would it...?
|
|
|
Post by sparrowhawk on Apr 5, 2004 15:31:27 GMT
Who knows? Maybe PHP sees leading 0's as an octal shorthand?
|
|
|
Post by sparrowhawk on Apr 7, 2004 9:36:10 GMT
I have changed the topic heading to make it easier for me to keep track of bugs.
Hope that's ok Matija!
|
|
merlin
Public Area Guest
Posts: 19
|
Post by merlin on Apr 8, 2004 19:56:51 GMT
Who knows? Maybe PHP sees leading 0's as an octal shorthand? That's pertty standard isn't it...
|
|