Skip to content

Commit

Permalink
Show more precise percentage number for table data (#2613)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iinh authored Dec 1, 2023
1 parent 95f3368 commit fba4f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { format } from 'd3-format';
import { timeFormat } from 'd3-time-format';

export const formatValue = format(',.2f');
export const formatPercent = format('.0%');
export const formatPercent = format('.3%');
export const formatPercentDecimal = format('.2%');
export const formatCount = format(',d');
export const formatMetric = format(',.2s');
Expand Down

0 comments on commit fba4f81

Please sign in to comment.