...
Introducedin | ||
---|---|---|
|
...
|
Description |
---|
Excerpt |
---|
Sets or returns whether to convert numeric strings such as currencies and formatted numerals in the imported data to numbers by using the culture information specified through the ConversionCulture property. By default it is set to |
Signature | ||||
---|---|---|---|---|
| ||||
public boolean ConvertStrings{ get; set; }
{signature}
{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Property ConvertStrings() As Boolean
{signature}
{remarks}
By |
Remarks |
---|
By default, when importing data, ExcelWriter will not convert numeric strings to numbers. If {{
is set to {{
, ExcelWriter will parse the strings into a {{
type by using the culture information specified through the [|DataImportProperties.ConversionCulture]property. If no specific culture is explicitly set, the invariant culture will be used to parse the numeric string. Currently only the currencies and formatted numerals (such as numbers with the decimal and thousands delimiters) will be parsed into numbers. Percentage, date and time, exponents and hexadecimal representations won't be converted. {remarks} {example} {code:csharp|title=C#} |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Remarks |
---|
When |