mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
fix decimal/comma formatting issue on stats page
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user