# exist a any methot to transform or round a float like "89.12345" to "89.12" or somthing like this

**URL:** <https://forums.unrealengine.com/t/exist-a-any-methot-to-transform-or-round-a-float-like-89-12345-to-89-12-or-somthing-like-this/1634791>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [January 22, 2024, 6:17pm UTC](https://forums.unrealengine.com/t/exist-a-any-methot-to-transform-or-round-a-float-like-89-12345-to-89-12-or-somthing-like-this/1634791 "2024-01-22T18:17:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![EisStudios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eisstudios/32/885240_2.png) [@EisStudios](https://forums.unrealengine.com/u/EisStudios)\
**Post date:** [January 23, 2024, 8:18pm UTC](https://forums.unrealengine.com/t/exist-a-any-methot-to-transform-or-round-a-float-like-89-12345-to-89-12-or-somthing-like-this/1634791/4 "2024-01-23T20:18:58Z")

</div>

This post should answer your question 🙂

> [@How to round float to x decimal places?](https://forums.unrealengine.com/t/how-to-round-float-to-x-decimal-places/821189/4):
>
> @ChrisAI This mostly comes down to a problem of converting between ints and floats in Verse. One thing you might have been missing is that you can multiply an int by 1.0 to turn it into a float. Here is a version of your original code with that + rounding integrated in. QuickTest():logic = if: ((Round[10.12345 \* 1000.0] \* 1.0) / 1000.0) = 10.123 then: return true else: return false I also gave a quick go at writing a more generic version RoundToDecimalPlac…

---

_[View the full topic](https://forums.unrealengine.com/t/exist-a-any-methot-to-transform-or-round-a-float-like-89-12345-to-89-12-or-somthing-like-this/1634791)._
