I try to get a gameobject to move to a new position on the z but it goes to the negative version of it. Why is this happening?

This is the code I used. Can somebody tell me what wrong?
Code:
public Transform Newposition;
public float Z = -29f;
void Update(){
Newposition.position = new Vector3(0, 0, Z );
}

@gamesjovanovic I dont know if the minus in the -29f is intentional, if it isn’t just remove the minus and its fixed! if this isn’t the case try and removing the Z float and use -29 in the transform instead. It should look something like this:

public Transform Newposition;

  void Update()
   { 
          Newposition.position = new Vector3(0, 0, -29 ); 
   }