How can I increase float precision in unreal engine 5?

Hi.
I’m using cesium and have to change world coordinates to unreal. Cesiums fuctions use float, and it can only fit 6 numbers after a comma.
I’d like to know if there a way, to increase this number.
I use blueprints, but if its only possible in c++ it’s not a problem.

What about the double float?

I’m using it already.

1 Like

You can perhaps implement another library which supports an even higher precision?

  • GMP or GNU Multiple Precision Arithmetic Library should provide functions for performing arithmetic operations with very high precision. You also have MPFR and NTL, but I suggest you look at the specifications to fit your needs.

Out of curiosity, what is the goal?

I’m using Cesium and sometimes I need more than 6 numbers after a comma to work with longitude and latitude.