Need help with this function

I’m having some issues with the Distance From Ocean Surface. How do i retrieve the float from that function? i have never seen anything with (Single) i got the other one working fine.

Looking at your graphic I can see that you have fallen prey to one of the most irritating design problems of the UnityEvent editor interface: