Skip to content

Commit

Permalink
fix decimal/comma formatting issue on stats page
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Mar 31, 2023
1 parent 837cb34 commit 0d4eec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/java/src/net/i2p/router/StatisticsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class StatisticsManager {

public StatisticsManager(RouterContext context) {
_context = context;
_fmt = SIMPLE_STATS ? new DecimalFormat("0.00") :
_fmt = SIMPLE_STATS ? new DecimalFormat("0.00", new DecimalFormatSymbols(Locale.UK)) :
new DecimalFormat("###,##0.00", new DecimalFormatSymbols(Locale.UK));
_pct = new DecimalFormat("#0.00%", new DecimalFormatSymbols(Locale.UK));
_log = context.logManager().getLog(StatisticsManager.class);
Expand Down

0 comments on commit 0d4eec7

Please sign in to comment.