Why are my float rounding themselves out to the lowest int without me coding it out?

Float rounds itself to the lowest int without me coding it, as seen in the Console and Inspector.

public float test;
    void Update()
    {
        test = 150 / 100;
        Debug.Log(test);
    }


I have had the problem happen on my main project but I replicated it in a fresh project.

Try adding an f at the end.

150f / 100f