To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=76852
------- Additional comments from [EMAIL PROTECTED] Tue Feb 5 14:34:37 +0000 2008 ------- The defect is reproduced on OOo V2.3.1 Intel Windows XP, Service Pack II. 1.Start up OOo writer 2.Click on Tools > Marcros > Organize Marcros > OpenOffice.org Basic… 3.On the OpenOffice.org Basic Macros window, expend My Macros, and click on New to get to the OOo Basic programming environment 4.In the body of the main subroutine of the sample code generated, insert the following test cases. Dim s as single s = 999999 print s ' display: 999999 correct (1) s = s+1 print s ' display: 1 incorrect (2) s = s+1 print s ' display : 1.000001E+6 correct (3) Dim x as single x = 1000000 print CStr(x)' display : 1 incorrect (4) Dim d as double d = 1000000000000000 print d ' display : 1E+15 correct (5) 5. On the tool bar, click compile and then run, if no errors. Test case (5) is actually correct in my testing environment. (OOo V2.3.1 on WinXP SP2). Looks like there’s problem with the number one million (1,000,000). It may be to do with a single type upper bound handling. More test cases has been conducted, and these are the results I found: Dim x1 as single x1 = 999999 print CStr(x1)' display : 999999 correct (6) x1 = 1000001 print CStr(x1)' display : 1.000001E+6 correct (7) Dim d1 as double d1 = 1000000 print d ' display : 1000000 correct (8) d1 = 100000000000000 print d ' display : 1 incorrect (9) The double type boundary is having the similar problem, as in test case (9). The value 100,000,000,000,000 is also displayed incorrectly! --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]