Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The decimals are not accurate. Please have a look. Thank you #1035

Closed
chinahtl opened this issue Oct 15, 2021 · 1 comment
Closed

The decimals are not accurate. Please have a look. Thank you #1035

chinahtl opened this issue Oct 15, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@chinahtl
Copy link

image

 f, err := excelize.OpenFile("TEST.xlsx")
  if err != nil {
	fmt.Println(err)
	return
}

// Get all the rows in the Sheet1.
rows, err := f.GetRows("Sheet1")
if err != nil {
	fmt.Println(err)
	return
}
for _, row := range rows {
	for _, colCell := range row {
		fmt.Print(colCell, "\t")
	}
	fmt.Println()
}
reulst:
参数值  
0.06666 
8.8880000000000001E-2   
0.07777 

TEST.xlsx

@xuri
Copy link
Member

xuri commented Oct 15, 2021

Thanks for your issue, this duplicate with #1031, I'll close this and still discuss this issue at there.

@xuri xuri closed this as completed Oct 15, 2021
@xuri xuri added the duplicate This issue or pull request already exists label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants