Forum Discussion
Changing a column from Any data type to decimal
- 4 years ago
I think you need to check regional setting of your machine ..
- 4 years ago
FarhanAhmed, thank you for the advice. I tried getting my regional computer settings sorted, to no avail. However, I found a workaround by using the locale function with the data type. This solved my problem.
Can you please click on the error to see the details and also share with us
Also make sure that there are no "Leading/Trailing" spaces in your numbers causing your data to become Text. therefore try to Clean and Trim the data before changing the data type of it by right click on the column and perform such operations.
Hi FarhanAhmed,
Thank you for your response.
On your first request, see the error details below when I try to change the data type to Decimal Number:
Error returned when changing data type from "Any" to "Decimal Number'"
I am not familiar with "Leading/Trailing" spaces, but I did try your suggested fix. After applying both "Trim" and "Clean" options, the data type changed to "Text" by default. See below.
Data Type = "Text" after trim and clean
When I then change the data type to "Decimal Number", I receive the same error as above. See below:
Error returned after Decimal Type
What did I miss?
- FarhanAhmed4 years agoCommunity Champion
I think you need to check regional setting of your machine ..
- J0hNN134 years agoFrequent Visitor
Okay, what should it be if not my locale?
- J0hNN134 years agoFrequent Visitor
FarhanAhmed, thank you for the advice. I tried getting my regional computer settings sorted, to no avail. However, I found a workaround by using the locale function with the data type. This solved my problem.