This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Description
Hello,
sorry for my perhaps "silly" question, but i can't figure out how to get the data as wanted into the excel file.
I have values like so: "2,3", "1,7" etc.
If i write the values to excel, they are represented in excel like so: "2.3", "1.7" etc.
I can't figure out, how to write those values to excel as "raw"-String-Value, so that it is represented as String like "2,3", "1,7"
Long stoty short - my code:
... for i:=0;i<len(rec);i++ { row := sh.AddRow() for k:=0;k<len(rec[i]);k++ { cell := row.AddCell() fmt.Println(rec[i][k]) cell.SetFormat(@) cell.SetString(rec[i][k]) } } ...
In the "fmt.Println(rec[i][k])" - line the value is printed with comma...
Could please anybody say me what i am doing wrong?
Or is this not a use-case for the lib?
Thx and bests
Beckx75