I am trying to link a class from the book “Core Java” that has worked for years.
The class is called “Format”.
When I try to compile, I get the error message:
cannot resolve symbol
symbol: method atof (java.lang.String)
location: class Format
The code that generates this error is:
fYrDefol[j][iDay] = (float)Format.atof(t.nextToken());
I am writing the routine for a Global Warming research project.
The thing is, in a different project I have a routine that makes the exact same call successfully!
Why does this one file not able to make the proper link to the Format class??
Any help would be greatly appreciated.