This forum has been archived. All content is frozen. Please use KDE Discuss instead.

negative zero

Tags: None
(comma "," separated)
User avatar
schunka
Registered Member
Posts
57
Karma
0
OS

negative zero

Wed May 02, 2012 10:48 am
In the accounts tab or anywhere else, where I can see actual ammount of an account, I have an account (1 in 16 account) with a negative zero as a total on that account. I'm not sure why this is happenning, there are no mathematical operations causing division to "invisible" decimals. So how is this possible?
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS

Re: negative zero

Mon May 14, 2012 8:28 pm
Hi,

In Skrooge, we are using a database SQLITE.
In you case, SQLITE computes not exactly 0, this is why you have -0.
Here is the SQLITE documentation explaining this:
http://www.sqlite.org/faq.html#q16


Skrooge, a personal finances manager powered by KDE
Image - PayPal


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell