diff options
author | WXDYGR <33148310+WXDYGR@users.noreply.github.com> | 2020-08-05 20:33:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 20:33:12 +0800 |
commit | 1c2e7c5c68f15739112e9c06d238b81318af0c97 (patch) | |
tree | 23cfd38eefeddacedd9a6d3f1ed7b9dbc5abed06 /styles.go | |
parent | ee35497935cac81b951d3a7b4f9dc3902c70e37c (diff) |
Update styles.go
修复获取百分比值时,GetCellValue返回值不准确的问题
Diffstat (limited to 'styles.go')
-rw-r--r-- | styles.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -909,7 +909,7 @@ func formatToC(i int, v string) string { return v } f = f * 100 - return fmt.Sprintf("%d%%", int(f)) + return fmt.Sprintf("%.f%%", f) } // formatToD provides a function to convert original string to special format |