[Bug 18073] VarFormat formats decimals wrongly
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun May 17 04:31:22 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=18073
Damjan Jovanovic <damjan.jov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |testcase
--- Comment #7 from Damjan Jovanovic <damjan.jov at gmail.com> 2009-05-17 04:31:22 ---
I've sent in a test showing how Wine truncates instead of rounding when the
portion of the number having no leading or trailing zeroes has a negative
exponent (eg. in 0.099 + #.##, the 99 has an exponent of -3, but the code that
rounds only activates if the number of fractional digits, 2, is greater than
the number of needed fractional digits, 2, hence it isn't called, and 0.099 is
truncated to 0.09 instead of being rounded to 0.1).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list