[Solved] How to round floats? (0.234378996=0.23)

A useful function that you can drop in a BPFL.

https://dev.epicgames.com/community/snippets/EK8a/unreal-engine-round-to-decimal

lmao I don’t know how I missed this beautiful solution. I’ve been using to text nodes all over and didn’t realise the dropdown bit hahaha

1 Like

For anyone still wondering. Multiply by 100 (or however many digits you need), round, then mod by the same amount for the right side of the decimal, and divide your rounded integer for the left side.