未验证 提交 fcbc7e3f 编写于 作者: xurime's avatar xurime 提交者: GitHub

Merge pull request #681 from WXDYGR/master

Fixed GetCellValue percentage accuracy
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册