When reading an .xlsx sheet with IExcelDataReader.AsDataSet strings that only contain numbers are converted to decimals
like 0100 becomes 100.0
If I use ' to force a string it works.
I would be greatful for a quick update.
Comments: ** Comment from web user: LandLubberNL **
like 0100 becomes 100.0
If I use ' to force a string it works.
I would be greatful for a quick update.
Comments: ** Comment from web user: LandLubberNL **
The data is stored in another cell as '00100 and then collected onto this sheet by means of a lookup. The contents of the cell is 000100 (notice the missing quote). The reader provides me with 100.0, so I can't tell whether it was 100 or 0100 or 00100, which in this application is significant.
Other than that the reader works great.