[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: ROUNDUP in kspread
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2001-08-01 22:44:56
[Download RAW message or body]

On Thursday 02 August 2001 00:16, Hasso Tepper wrote:

> Just saw Daniel's fix to the kspread testcase. ROUNDUP(2,99;5)=2,99001?
> Really? I don't think so. It should be still 2,99.

Now I get it, you can revert my "fix". But the problem you are 
experiencing is not just a "bug", it's just the way computer represent 
numbers. It's all described here:
http://mindprod.com/jglossf.html#F, then search for "Floating Point".

Regards
 Daniel

-- 
Daniel Naber, Paul-Gerhardt-Str. 2, 33332 Guetersloh, Germany
Tel. 05241-59371, Mobil 0170-4819674
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic