[libalkimia] [Bug 378119] New: RoundFloor doesn't work as expected with negative numbers
NSLW
bugzilla_noreply at kde.org
Sun Mar 26 18:53:44 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=378119
Bug ID: 378119
Summary: RoundFloor doesn't work as expected with negative
numbers
Product: libalkimia
Version: trunk
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: General
Assignee: kmymoney-devel at kde.org
Reporter: lukasz.wojnilowicz at gmail.com
Target Milestone: ---
Problematic function is convertDenominator which doesn't work as expected with
negative numbers.
case 1:
input = -1.009
output = -1.01
desired output = -1
case 2:
input = 1.009
output = desired output = 1
RoundFloor doesn't work as in LibreOffice.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list