Update utils.js: show percents with up to 4 digits after the decimal
This commit is contained in:
@@ -200,7 +200,7 @@ const Utils = {
|
|||||||
|
|
||||||
showPercent: function (pct) {
|
showPercent: function (pct) {
|
||||||
return Number(pct).toLocaleString(undefined,
|
return Number(pct).toLocaleString(undefined,
|
||||||
{ style: 'percent', maximumFractionDigits: 2 })
|
{ style: 'percent', maximumFractionDigits: 4 })
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user