How to change the output of a variable from float to boolean?

Thank you Slayemin for you answer. If you have a minute, check this tutorial that I am attaching. At 08:00 is the point that I am having the problem. Maybe the problem is that I am working on 4.9 and this is a tutorial for 4.8. The thing is that when I am doing the same thing, the output is not boolean but it’s float.

Thank you!