I want to have my double displayed like this 12.34
but at the moment its displaying like this 12,34
. I want to have a period instead of a comma. Can anyone help?
Double tmp = CalculatePercentage(model.getTotal(),model.getAchieved(),Double.parseDouble(model.getWeight()),"W");
holder.textView_contribution.setText("End Weight: "+String.format("%.2f", tmp));