To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110288
                 Issue #|110288
                 Summary|new CONVERT_ADD factors for "uk_qt" and "uk_gal" are i
                        |ncorrect
               Component|Spreadsheet
                 Version|OOo 3.2
                Platform|PC
                     URL|http://user.services.openoffice.org/en/forum/viewtopic
                        |.php?f=9&t=28814
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|jes





------- Additional comments from [email protected] Sun Mar 21 02:47:52 +0000 
2010 -------
>From i99140_patch2.diff attached to Issue 99140:
...
+    NEWD( "uk_gal",     2.6411458333333333E-01, CDC_Volume ); // U.K. /
Imperial gallon ??
+    NEWD( "uk_qt",      1.0564583333333333E00,  CDC_Volume ); // U.K. /
Imperial quart  ??

Those factors are the same as US Gallon/Quart, so CONVERT_ADD currently
recognizes imperial units but gives incorrect results for those conversions.

The correct factors are simply 1/8 and 1/4 of the "uk_pint" factor, which is
correct. Using those integer factors, the lines in
scaddins/source/analysis/analysishelper.cxx should look something like this:

    NEWD( "uk_gal",     2.199694619402070E-01, CDC_Volume ); // U.K. / Imperial
gallon
    NEWD( "uk_qt",      8.798778477608300E-01, CDC_Volume ); // U.K. / Imperial
quart

Spreadsheet attached for testing.

---------------------------------------------------------------------
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]

Reply via email to