We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5adf90a commit 79f444bCopy full SHA for 79f444b
type_sheet_content.go
@@ -154,7 +154,7 @@ func (r *SheetContent) UnmarshalJSON(bytes []byte) error {
154
} else if (bytes[0] >= '0' && bytes[0] <= '9') ||
155
(bytes[0] == '-' && len(bytes) > 1 && bytes[1] >= '0' && bytes[1] <= '9') {
156
str := string(bytes)
157
- if strings.Contains(str, ".") {
+ if strings.ContainsAny(str, ".eE") {
158
float, err := strconv.ParseFloat(str, 64)
159
if err != nil {
160
return err
0 commit comments