syntax error after declaring float

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ClaytonCont : MonoBehaviour
{
// Start is called before the first frame update

public Transform cameraDir;
public float moveSpeed 4.0f;
void Start()
{

}

// Update is called once per frame
void Update()
{

}
}
this brings up a syntax error stating that a comma is required, cant see why it needs a comma, im probs being dumb

You should use code tags.

AND insert an equals sign before 4.0f

thanks not sure how i missed that