Comma as decimal separator
Posted: 2021-11-03 17:51
Hi all,
I'm using AppGini v5.98.
I have a table with 5 fields DECIMAL (12,3) and I need to be able to use comma as a decimal separator and point as thousands separator.
I tried using the format "Points for thousands and comma for decimals, 2 decimals (example: 21.345,67) that comes in the format list but it doesnt work.
If I enter the numbers with a comma as a decimal separator the number gets truncated after the comma.
e.g. 21,345 -> 21,000 and it's displayed with a point -> 21.000.
Then I don't know if the point is the decimal separator and the value is 21 or it's the thousands separator and the value is 21000.
Modifying or creating another format based on this one (FORMAT(%%FIELD%%, 3, 'de_DE') for example) doesn't work either.
With that format, using a point as a decimal separator seems to work.
Am I doing something wrong or the decimal and thousand separator thing is broken?
I'm using AppGini v5.98.
I have a table with 5 fields DECIMAL (12,3) and I need to be able to use comma as a decimal separator and point as thousands separator.
I tried using the format "Points for thousands and comma for decimals, 2 decimals (example: 21.345,67) that comes in the format list but it doesnt work.
If I enter the numbers with a comma as a decimal separator the number gets truncated after the comma.
e.g. 21,345 -> 21,000 and it's displayed with a point -> 21.000.
Then I don't know if the point is the decimal separator and the value is 21 or it's the thousands separator and the value is 21000.
Modifying or creating another format based on this one (FORMAT(%%FIELD%%, 3, 'de_DE') for example) doesn't work either.
With that format, using a point as a decimal separator seems to work.
Am I doing something wrong or the decimal and thousand separator thing is broken?