Rename server => modules
This commit is contained in:
5
modules/client/utils/formatPercent.js
Normal file
5
modules/client/utils/formatPercent.js
Normal file
@ -0,0 +1,5 @@
|
||||
function formatPercent(n, fixed = 1) {
|
||||
return String((n.toPrecision(2) * 100).toFixed(fixed));
|
||||
}
|
||||
|
||||
module.exports = formatPercent;
|
Reference in New Issue
Block a user