Codebase list golang-github-vbauerster-mpb / 7ea612f
Revert "prefer PercentageRound as it's used in (*bFiller).Fill" This reverts commit a0b327b96df129ea8838f4eda4bc4184473d249a. Vladimir Bauer 1 year, 10 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6060 format = "% d"
6161 }
6262 f := func(s Statistics) string {
63 p := internal.PercentageRound(s.Total, s.Current, 100)
63 p := internal.Percentage(s.Total, s.Current, 100)
6464 return fmt.Sprintf(format, percentageType(p))
6565 }
6666 return Any(f, wcc...)