|  | Posted by Rik on 01/31/07 21:23 
Gunnar G <debian@comhem.se> wrote:
 > I have read a file with the file() command and it contains numbers,
 > numbers
 > that are larger than 2^32 and now I wonder, will this be a problem if I
 > do
 > arithemtcis,
 
 I leave that to the people who actually learned the basics, is suspect it
 might.
 
 > or is there some easy way to force it to use consider the
 > array as floatingpoint numbers?
 
 You can use floatval() on a string without problems. However, depending on
 how the data in that file is stored, you might want to look into the
 fscanf() function.
 --
 Rik Wasmus
  Navigation: [Reply to this message] |