I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 0d4eec7f authored by idk's avatar idk
Browse files

fix decimal/comma formatting issue on stats page

parent 837cb343
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ public class StatisticsManager { ...@@ -46,7 +46,7 @@ public class StatisticsManager {
public StatisticsManager(RouterContext context) { public StatisticsManager(RouterContext context) {
_context = 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)); new DecimalFormat("###,##0.00", new DecimalFormatSymbols(Locale.UK));
_pct = new DecimalFormat("#0.00%", new DecimalFormatSymbols(Locale.UK)); _pct = new DecimalFormat("#0.00%", new DecimalFormatSymbols(Locale.UK));
_log = context.logManager().getLog(StatisticsManager.class); _log = context.logManager().getLog(StatisticsManager.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment