diff --git a/pkg/service/bundle/bundleBalance.go b/pkg/service/bundle/bundleBalance.go index b753b62..8bb13d0 100644 --- a/pkg/service/bundle/bundleBalance.go +++ b/pkg/service/bundle/bundleBalance.go @@ -379,8 +379,8 @@ func writeToExcel(filename string, items []*bundle.BundleBalanceExportItem) erro _ = write(8, float64(it.TotalPayAmount)) _ = write(9, it.Currency) _ = write(10, it.Fee) - _ = write(11, float64(it.BundleVideoUnitPrice)) - _ = write(12, float64(it.IncreaseVideoUnitPrice)) + _ = write(11, fmt.Sprintf("%.2f", it.BundleVideoUnitPrice)) + _ = write(12, fmt.Sprintf("%.2f", it.IncreaseVideoUnitPrice)) // 账号类 _ = write(13, int(it.BundleAccountNumber))