Reputation: 1066
I am trying to format percentages using the Java DecimalFormat()
function. The format String I am using is
'#.##%;-#%'
.
This is not giving me the negative results I would expect, e.g. -12% is showing as simply -12. Where am I going wrong?
Upvotes: 1
Views: 346