[Bug 2428] New: Decimal places are being represented with random characters
wine-bugs at winehq.org
Tue Aug 17 16:16:30 CDT 2004
Summary: Decimal places are being represented with random
AssignedTo: wine-bugs at winehq.org
ReportedBy: rglover at 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"))
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.
More information about the wine-bugs