PHP array ... possible problem?

View previous topic View next topic Go down

PHP array ... possible problem?

Post  Jim on Wed Jun 20, 2012 4:06 am

I was glancing at PHP today and found this article, albeit an old article, but it raises a possible issue with our battle routines.

http://www.php.net/manual/en/language.types.array.php

While PHP handles arrays, it apparently does so as INT, which has ramifications for those single precision numbers we use in array form.. ie.. keeping track of fractions of ships destroyed.

Any workarounds or perhaps this is just an old article?

Best,

Jim
avatar
Jim
Admin

Posts : 71
Join date : 2010-07-08

View user profile

Back to top Go down

PHP array ... possible problem?

Post  trainort on Wed Jun 20, 2012 12:05 pm

Should be something we can track down with an Internet search. -- Tim
avatar
trainort
Explorer
Explorer

Posts : 27
Join date : 2010-07-09
Location : Muskegon, Michigan USA

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum