gvSIG bugs #2374

Wrong thousands and decimal separators in the attribute table

Added by Antonio Falciano about 10 years ago. Updated almost 10 years ago.

Status:Invalid% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:-
Target version:-
Severity: Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2220 Add-on resolve version:
Operative System:Windows Add-on resolve build:
Keywords:separator Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

I've set the language in Italian. If I open an attribute table, I see dots as thousands separators and common as decimal one, even if I've set dot as decimal separator (and space as thousands one, because Windows doesn't allow to set a null value).

separators_issue.png - Separators issue in a table of attributes (32 KB) Antonio Falciano, 05/25/2014 11:27 AM

856

Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2529: Error al exportar de dxf a shp Invalid 05/19/2014

History

#1 Updated by Álvaro Anguix about 10 years ago

Antonio, Can you add the table or shapefile?

#2 Updated by Antonio Falciano about 10 years ago

The bug is still present in build 2221. Here's a shapefile with two double fields: http://www.istat.it/it/files/2011/04/reg2011.zip

#3 Updated by Antonio Falciano almost 10 years ago

I attach a screenshot showing clearly the issue (BN 2227). The same wrong separators are used in the statusbar too.
Instead, in the Filter tool or in geoprocesses numeric values are usually shown using only dot as decimal separator (right way).

#4 Updated by Antonio Falciano almost 10 years ago

  • Status changed from New to Invalid

After further investigations, I finally discovered that the format of the table document cells is inherited by the gvSIG locale and not by the system one.
For instance:

Double to format: 1234.56789
1.234,568 - currentLocale: it - pattern: #,###.###
1234,568  - currentLocale: it - pattern: #.###
1.234,568 - currentLocale: es - pattern: #,###.###
1234,568  - currentLocale: es - pattern: #.###
1,234.568 - currentLocale: en - pattern: #,###.###
1234.568  - currentLocale: en - pattern: #.###

So if the gvSIG language (or locale) is set as Italian or Spanish, dot as thousands separator and common as decimal one are right. Being not a bug, I set this ticket as Invalid.

Also available in: Atom PDF