dif Excel Number stored as Text inconsistency
This commit is contained in:
parent
bf9146d579
commit
a852299bd4
@ -26,6 +26,24 @@ It does not correctly handle `"` characters in strings. Writers should use `""`
|
||||
""""
|
||||
```
|
||||
|
||||
### Excel Number stored as Text inconsistency
|
||||
|
||||
Even if a data point is marked as text, Excel will try to interpret as Number.
|
||||
For example, the following DIF snippet should represent the text `"0.3"`:
|
||||
|
||||
|
||||
```dif
|
||||
1,0
|
||||
"0.3"
|
||||
```
|
||||
|
||||
Excel ignores the type and interprets the cell as the number `0.3`. To force a
|
||||
textual interpretation, the formula trick (same as CSV) works:
|
||||
|
||||
```dif
|
||||
1,0
|
||||
"=""0.3"""
|
||||
```
|
||||
|
||||
|
||||
[](https://github.com/SheetJS/notes)
|
||||
|
Loading…
Reference in New Issue
Block a user