Symptom:
When Importing an Excel XLS into Target using the following method the decimals in the Excel spreadsheet appear as commas in Target.
- DH-Data > New project > New Empty Project
- DH-Data > Import Data > XLS/Database
- Using the wizard go to "From To data" and changed the From-to View to the sheet with the weight data.
- Set "channel to import" as channel type: Data
- Set data type as "sting"
Note that the Channel is imported as string with commas. - Repeating steps 1-4 I set the data type as "floating point"
Note that the Channel is imported as floating point with dummies in place of the values that had decimals.
Resolution:
The problem lies in the Windows language settings. In some regions, such a Europe, the default for "Decimal Symbol" is set to ",". Geosoft applications will convert the decimal to comma, but not use the comma as a decimal.
To resolve this In Windows 10 (64 bit):
- Go to "Control Panel"
- Click "Change date, time, or number formats
- On the "Formats" tab click "Additional settings"
- On the "Numbers" tab enter make sure the "Decimal symbol" is "." if not, change it to "."
- Click "Apply"
Reimport the XLS into your target project.