I am trying to show a percentage but how do I show % sign using string format? Here's my line of code
precent.setText(String.format(Locale.getDefault(),"%.1f", precentNum))
I mean how do I put a percentage sign at the end of the text? couldn't find an answer when I searched.