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

**URL:** <https://forums.unrealengine.com/t/how-to-change-the-output-of-a-variable-from-float-to-boolean/333914>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 30, 2015, 10:49pm UTC](https://forums.unrealengine.com/t/how-to-change-the-output-of-a-variable-from-float-to-boolean/333914 "2015-09-30T22:49:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bilimili](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bilimili/32/1069060_2.png) [@bilimili](https://forums.unrealengine.com/u/bilimili)\
**Post date:** [October 1, 2015, 12:36am UTC](https://forums.unrealengine.com/t/how-to-change-the-output-of-a-variable-from-float-to-boolean/333914/4 "2015-10-01T00:36:52Z")

</div>

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!

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-change-the-output-of-a-variable-from-float-to-boolean/333914)._
