The only thing which comes to my mind is that as default for loops use iteration number of 1,you can never reach the 2.55 which is the end number, try to rewrite the for loop to something like this:
for i = 1, 2.55, 0.05 do
By adding 0.05 to the starting number 1, we can be sure the number will be at some point 2.55