We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description There is the code :
func TestMyTest(t *testing.T) { f, err := excelize.OpenFile("../test.xlsx") if err != nil { fmt.Println(err) return } defer f.Close() f.SetCellValue("Sheet1", "D24", "2001") f.SetCellFormula("Sheet1", "D25", `IF(D24<>"","、"&D24,"")`) f.SetCellFormula("Sheet1", "E25", `IF(E24<>"","、"&E24,"")`) f.SetCellFormula("Sheet1", "B27", `IF(D25&E25<>"",D25&E25,"")`) value, err := f.CalcCellValue("Sheet1", "D25") if err != nil { fmt.Println(err) return } t.Log("D25:", value) value, err = f.CalcCellValue("Sheet1", "E25") if err != nil { fmt.Println(err) return } t.Log("E25:", value) value, err = f.CalcCellValue("Sheet1", "B27") if err != nil { fmt.Println("B27 err:", err) } t.Log("B27:", value) }
Describe the results you received:
Running tool: C:\golang\go\bin\go.exe test -timeout 30s -run ^TestMyTest$ excelizer/testing -v === RUN TestMyTest d:\DEV\go-dev\excelizer\testing\excel_test.go:112: D25: 、2001 d:\DEV\go-dev\excelizer\testing\excel_test.go:119: E25: B27 err: strconv.ParseBool: parsing "、2001FALSE": invalid syntax d:\DEV\go-dev\excelizer\testing\excel_test.go:124: B27: #VALUE! --- PASS: TestMyTest (0.00s) PASS ok excelizer/testing 0.332s
Describe the results you expected:
B27: 、2001
Environment details (OS, Microsoft Excel™ version, physical, etc.):
The text was updated successfully, but these errors were encountered:
eb17590
Thanks for your issue. I have fixed this issue, please try to upgrade the master branch code, and this patch will be released in the next version.
Sorry, something went wrong.
This fixes qax-os#1599, and improve date and time number format
40dad3e
- Fix basic arithmetic operator priority issues - Support apply date and time number format with 52 languages: Estonian, Faroese, Filipino, Finnish, Frisian, Fulah, Galician, Georgian, Greek, Greenlandic, Guarani, Gujarati, Hausa, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Igbo, Indonesian, Inuktitut, Kannada, Kashmiri, Kazakh, Khmer, Kiche, Kinyarwanda, Kiswahili, Konkani, Kyrgyz, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malay, Malayalam, Maltese, Maori, Mapudungun, Marathi, Mohawk, Morocco, Nepali, Nigeria, Norwegian, Occitan, Odia, Oromo, Pashto and Syllabics - Support apply the Chinese weekdays' number formats - Update the unit test and dependencies modules
No branches or pull requests
Description
There is the code :
Describe the results you received:
Describe the results you expected:
B27: 、2001
Environment details (OS, Microsoft Excel™ version, physical, etc.):
The text was updated successfully, but these errors were encountered: