frequi_origin/src/shared/formatters.js

5 lines
132 B
JavaScript
Raw Normal View History

2020-06-02 11:05:16 +00:00
/* eslint-disable import/prefer-default-export */
export function formatPercent(value) {
return `${(value * 100).toFixed(3)}%`;
}