I have a loop that looks something like this:
for (int i = 0; i < max; i++) { String myString = ...; float myNum = Float.parseFloat(myString);
In your examples there is no functional difference. I find your first example more readable.