Merge pull request #681 from WXDYGR/master

Fixed GetCellValue percentage accuracy
formula
xuri 5 years ago committed by GitHub
commit fcbc7e3f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save