<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Splitted HSQLDB 2.3.2: Decimal-fields are formatted as currency when table or view used in Calc"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132095">132095</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Splitted HSQLDB 2.3.2: Decimal-fields are formatted as currency when table or view used in Calc
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.7.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>j.tdhgfg.k@nurfuerspam.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
I have a split HSQLDB version 2.3.2, with embedded or split HSQLDB version 1.8
there was no bug.
When a table or view is used in Calc, a decimal field (length 4, decimal places
2, format example 0,00) is formatted as currency. Even if manually formatted as
0,00 in Calc, after Data →Refresh Range, the currency symbol is there again.
This is very annoying, because I use the column to store weights.
This behavior occurs not in Writer.
I'll attach an example database and Writer and Calc documents.
The bug still exists in 6.4.2.2, I already experienced it in 6.0.7. I don't
know, what the earliest affected version is.
Steps to Reproduce:
1. Create a split database with HSQLDB 2.3.2. Create a table with a column with
field type Decimal, lenght 4, decimal places 2. The format example shows 0,00
€ then, so change it to 0,00.
2. Fill in some values.
3. Register the database and import the table in Calc via View -> Data Sources
-> Select the database -> select the table -> Data to Text
Actual Results:
The table is imported but the format of the decimal column is a currency
format. (With my German Locale it's #.##0,00 [$€-407];[ROT]-#.##0,00 [$€-407] )
Even if I manually format the column as 0,00 in Calc, after Data →Refresh Range
is clicked, the currency symbol is there again.
Expected Results:
The data is correctly imported with it's format (as 0,00).
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.4.2.2
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: de-DE (de_DE.utf-8); UI-Language: en-US
Calc: threaded</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>