[Bug 2428] New: Decimal places are being represented with random characters
http://bugs.winehq.org/show_bug.cgi?id=2428 Summary: Decimal places are being represented with random characters Product: Wine Version: 20040813 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-ole AssignedTo: wine-bugs(a)winehq.org ReportedBy: rglover(a)npc.net The example Visual Basic code below should produce "TEST 12.5", but instead it outputs "TEST 12.__" where the underscores are the little squares you get when a character is missing from the character set. Since I can in fact see the 1 and the 2 in 12, I'm assuming that I should also see the 2 just after the decimal point, but I just see the square. Private Sub Form_Load MsgBox ("TEST " & Format$(12.26, "0.00")) End Sub In the (larger) application that I had been testing when I ran across this, I noticed that the number of squares seems a bit random: changing from call to call. I took a peek at the source code, and settled on oleaut32/varformat.c as a likely place, but I'm just not sure that's the right place. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs