LO/Firebird - subtraction issue and other operations
-
- Posts: 89
- Joined: Tue Jul 16, 2013 2:24 pm
LO/Firebird - subtraction issue and other operations
Hi, I have an issue with an embedded Firebird database with LO 6.2.
In my table one is decimal =12,0 and two is decimal=10,0.
Why the subtraction one-two = 20?
Why the additions one+two = 220?
Why the division one/two = 120?
Why the product one*two = 12000?
Thanks so much.
In my table one is decimal =12,0 and two is decimal=10,0.
Why the subtraction one-two = 20?
Why the additions one+two = 220?
Why the division one/two = 120?
Why the product one*two = 12000?
Thanks so much.
Last edited by pinco pallo on Wed Jul 10, 2019 5:01 pm, edited 1 time in total.
LiBO 6.2.8.2 on macOS 10.12.6 (Sierra)
Re: LO/Firebird - subtraction issue
Your comma is not being treated as a decimal point.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 89
- Joined: Tue Jul 16, 2013 2:24 pm
Re: LO/Firebird - subtraction issue
Thanks for your quick reply.
But even changing the decimal separator from comma to point (choosing English in the Format dialog box) things don't change.
But even changing the decimal separator from comma to point (choosing English in the Format dialog box) things don't change.
LiBO 6.2.8.2 on macOS 10.12.6 (Sierra)
Re: LO/Firebird - subtraction issue and other operations
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 89
- Joined: Tue Jul 16, 2013 2:24 pm
Re: LO/Firebird - subtraction issue and other operations
Thank you. But not in MyTest:
Where am I wrong?- Attachments
-
- MyTest.odb
- (3.51 KiB) Downloaded 282 times
LiBO 6.2.8.2 on macOS 10.12.6 (Sierra)
Re: LO/Firebird - subtraction issue and other operations
Because your query is not the same as mine.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: LO/Firebird - subtraction issue and other operations
i have not downloaded any of the attachments related to this topic but suspect that the answer lies here>> https://ask.libreoffice.org/en/question ... breoffice/
the use of CAST is required:-in my humble opinion there are currently so many bugs in libreoffice base & embedded firebird in particular that it can not be trusted.
the use of CAST is required:-
Code: Select all
cast("Column1" - "Column2" as decimal(8,2)) "Column1-Column2"
open office 4.1.14 & LibreOffice 6.4.4.2 x64 using HSQL 1.8.0.10 (Embedded) and HSQL 2.6.0 (Split) on Windows 10
Re: LO/Firebird - subtraction issue and other operations
+1
Use LibreOffice instead of OpenOffice but not the new Firebird engine that integrates so poorly. I do not blame anybody. It could be Firebird not obeying certain standards, it could be the Base developers of old OpenOffice.org, it could be the LibreOffice crew. There is nothing wrong with HSQL. Even the old embedded version works better than Firebird, and if you switch from embedded HSQL to external HSQL2 you get a really nice backend playing almost perfectly together with Base.
Use LibreOffice instead of OpenOffice but not the new Firebird engine that integrates so poorly. I do not blame anybody. It could be Firebird not obeying certain standards, it could be the Base developers of old OpenOffice.org, it could be the LibreOffice crew. There is nothing wrong with HSQL. Even the old embedded version works better than Firebird, and if you switch from embedded HSQL to external HSQL2 you get a really nice backend playing almost perfectly together with Base.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 89
- Joined: Tue Jul 16, 2013 2:24 pm
Re: LO/Firebird - subtraction issue and other operations
I thought I was doing something right with Firebird. If I select HSQL LO it says:Villeroy wrote:but not the new Firebird engine that integrates so poorly
Better to give up immediately if I need to reformat the fields in all the queries.chrisb wrote:the use of CAST is required
LiBO 6.2.8.2 on macOS 10.12.6 (Sierra)
-
- Posts: 89
- Joined: Tue Jul 16, 2013 2:24 pm
Re: LO/Firebird - subtraction issue and other operations
The problem also exists with a new database connected.
Is it possible that the developers have done this stupid thing?
Is it possible that the developers have done this stupid thing?
LiBO 6.2.8.2 on macOS 10.12.6 (Sierra)
Re: LO/Firebird - subtraction issue and other operations
Yes, they did this stupid thing.
menu:Tools>Options>Advanced turn off experimental features and you won't be prompted for conversion anymore.
menu:Tools>Options>Advanced turn off experimental features and you won't be prompted for conversion anymore.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice