[C#] How to position a gameobject using double type numbers?

I need to get the previous gameobject in the list, however I have found that I cannot add anything that are not ints. What is the workaround this? How Can I increase an objects position in c# by 0.64 instead of 1?

I think you’re misunderstanding array (or lists) indexes (Integers) and plain floating point numbers.

transform.position += Vector3.Lerp(trasnform.position, myList[ index ], Time.deltatime * speed);