UE4 ftext a int

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