| 1 2 3 4 5 6 7 8 9 10 | 16x 17x | import * as d3Format from 'd3-format';
export function formatAbbreviatedNumber(value) {
return d3Format.format('.2s')(value).replace('G', 'B');
}
export function formatThousands(value) {
return d3Format.format(',.0f')(value);
}
|