Bug 134897 - Regional settings for numbers do not conform to system settings
Summary: Regional settings for numbers do not conform to system settings
Status: CLOSED DUPLICATE of bug 46448
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 10:33 UTC by Mark
Modified: 2020-07-20 11:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc settings (90.85 KB, image/jpeg)
2020-07-17 10:41 UTC, Mark
Details
Example of bug in Calc (35.21 KB, image/jpeg)
2020-07-17 10:41 UTC, Mark
Details
Windows Number Config (67.21 KB, image/jpeg)
2020-07-17 10:43 UTC, Mark
Details
Windows Currency Config (62.48 KB, image/jpeg)
2020-07-17 10:44 UTC, Mark
Details
Windows Time Config (64.94 KB, image/jpeg)
2020-07-17 10:45 UTC, Mark
Details
Windows Date Config (70.13 KB, image/jpeg)
2020-07-17 10:45 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2020-07-17 10:33:54 UTC
Description:
The locale for South Africa inside Calc is wrong. Whether Decimal Separator Key is checked to be the same as locale makes no difference.

Calc doesn't treat numbers with . that conform to the system formatting as numbers because it is expecting a comma as a decimal separator. South Africa last used the comma as a decimal separator over 25 years ago.

There isn't an easy way to configure it to be correct throughout the spreadsheet. 

Steps to Reproduce:
1.System regional settings are set to South Africa (i.e. currency is Rands, decimal separator is . and thousands grouping is space)
2. Language settings in Libre Office are South African English
3. Open a new spreadsheet in Calc
4. Numbers are displayed with , as decimal separator and are required to be entered with , as a decimal separator
5. When I copy numbers from other applications with the decimal as . Calc treats it as text
6. If you try to multiple a number with a . by 2 as decimal separator it gives a value error. If you try to multiple a number with a , by 2 as decimal separator it gives a number answer with , as separator

Actual Results:
The locale for South Africa inside Calc is wrong. Whether Decimal Separator Key is checked to be the same as locale makes no difference.

Calc doesn't treat numbers with . that conform to the system formatting as numbers because it is expecting a comma as a decimal separator. South Africa last used the comma as a decimal separator over 25 years ago.

There isn't an easy way to configure it to be correct throughout the spreadsheet. 

Expected Results:
Numbers and dates in Calc should conform to what is specified as system-wide settings. At the very least, the locale settings for South Africa in Libre Office should be set to have . instead of , as decimal separator. 


Reproducible: Always


User Profile Reset: Yes



Additional Info:
OS is Windows 10 x64
Comment 1 Mark 2020-07-17 10:41:11 UTC
Created attachment 163163 [details]
Calc settings

Settings being used
Comment 2 Mark 2020-07-17 10:41:53 UTC
Created attachment 163164 [details]
Example of bug in Calc
Comment 3 Mark 2020-07-17 10:43:41 UTC
Created attachment 163165 [details]
Windows Number Config
Comment 4 Mark 2020-07-17 10:44:53 UTC
Created attachment 163166 [details]
Windows Currency Config
Comment 5 Mark 2020-07-17 10:45:24 UTC
Created attachment 163167 [details]
Windows Time Config
Comment 6 Mark 2020-07-17 10:45:56 UTC
Created attachment 163169 [details]
Windows Date Config
Comment 7 Mark 2020-07-17 10:48:40 UTC
This bug makes the use of Calc on Windows 10 (and possible other versions) unusable to anyone with South Africa set as locale.
Comment 9 Eike Rathke 2020-07-20 11:04:37 UTC
Bug 119613 explicitly requested that the decimal separator for *-ZA locales shall be comma, not dot. System settings configuring separators and such currently are not merged in to LibreOffice locale settings, that's RFE bug 46448, closing this as duplicate.

*** This bug has been marked as a duplicate of bug 46448 ***