float in settext android studio code example Example: setText float android num.setText(String.valueOf(returnnum));