I have error with vector3. What I should do?

My code to go some place is here:

transform.position = new Vector3(0, 1.78, 0);

my error is Assets/a.cs(74,26): error CS1502: The best overloaded method match for `UnityEngine.Vector3.Vector3(float, float, float)’ has some invalid arguments

The parameters for Vector3 need to be float, not double.

transform.position = new Vector3(0, 1.78f, 0);