ue4 ftext to int 1

ue4 ftext to int

FCString::Atoi(*YourFText.ToString())

Here is what the above code is Doing:
1. We’re using the FText::FromString() function to convert our string to an FText.
2. We’re using the FText::ToString() function to convert our FText to a string.
3. We’re using the FCString::Atoi() function to convert our string to an integer.

Similar Posts