Mathf.Aproxamently not working with floats.

My code is like this

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


public class Example_code : MonoBehaviour
{
     
     public float randNumber;
     public float randNumber2;
    // Start is called before the first frame update
    void Start()
    {
       
    }

    // Update is called once per frame
    void Update()
    {
       
      
        if (Mathf.Approximately(1.0f, randNumber / randNumber2))
        {
            print("The values are approximately the same");
        }
    }
}

The problem is that it is not triggering for the floats. do any of you know how to fix this?

Never Mind I fixed it.