Wiki Code Tutorials

Get Float As String With Precision Using Epic’s FText Helpers

Dear Community,

I’ve updated my Get Float As String With Precision C++ wiki to use Epic’s FText helpers!

Now I am leveraging all of their awesome work to get a float as a string with any precision of your choosing, encapsulatd into an easy to use static library function.

My function also now gives you an option as to whether you want to include a leading zero for fractional numbers!

UE4 Wiki Link
https://wiki.unrealengine./Float_as_String_With_Precision

Enjoy!

:slight_smile: