# The description of the "InRange (float)" function is incorrect

**URL:** <https://forums.unrealengine.com/t/the-description-of-the-inrange-float-function-is-incorrect/366290>\
**Category:** Blueprint\
**Tags:** documentation-bug, unreal-engine, Blueprint, question\
**Created:** [August 6, 2016, 3:12am UTC](https://forums.unrealengine.com/t/the-description-of-the-inrange-float-function-is-incorrect/366290 "2016-08-06T03:12:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nameless\_Voice](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nameless_voice/32/747563_2.png) [@Nameless\_Voice](https://forums.unrealengine.com/u/Nameless_Voice)\
**Post date:** [August 6, 2016, 3:12am UTC](https://forums.unrealengine.com/t/the-description-of-the-inrange-float-function-is-incorrect/366290/1 "2016-08-06T03:12:46Z")

</div>

Just a somewhat minor bug.

The documentation (both in-editor and in [the online documentation](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Math/Float/InRange_float/index.html)) for the InRange (float) function have an incorrect description.

The function is described as "Returns V clamped to be between A and B (inclusive) "

That is, in fact, the description of the Clamp (float) function.

The InRange function merely checks if the value is within the specified range, and returns true if it is and false if it is not. It does not return a float value at all.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 8, 2016, 4:36pm UTC](https://forums.unrealengine.com/t/the-description-of-the-inrange-float-function-is-incorrect/366290/2 "2016-08-08T16:36:28Z")

</div>

Hello Nameless Voice

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Thank you for your time and information.

Link: [Unreal Engine Issues and Bug Tracker (UE-34353)](https://issues.unrealengine.com/issue/UE-34353)

Make it a great day
