how to make a float value,debug as int.(or show in text UI as Int)

? :slight_smile: hi how are you :slight_smile:

You can simply cast the float to int (and use the int in your string):

    float f = 2.3f;
    int i = (int)f; //The value will be 2, as the decimal part is truncated
    myTextObj.text = "Your number is " + i;