[Libreoffice-bugs] [Bug 107448] New: Median operator returning first variable as result

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 26 13:05:05 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107448

            Bug ID: 107448
           Summary: Median operator returning first variable as result
           Product: LibreOffice
           Version: 5.1.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sathish.krishnan.p.s at gmail.com

Description:
Incorrect result on using median operator in Libreoffice Calc

Steps to Reproduce:
1. The median operator in LibreOffice Calc while used with multiple randomly
selected items, for example, is =MEDIAN(A74,A65,A55,A46,A38,A30).
2.  By mistake, if a user introduces a comma at the end of the list as
=MEDIAN(A74,A65,A55,A46,A38,A30,), the function returns the first value in the
list i.e. A74 as the result, which is wrong. Unsuspecting user might end up
with wrong result.

Actual Results:  
=MEDIAN(A74,A65,A55,A46,A38,A30,) returns A74.

Expected Results:
=MEDIAN(A74,A65,A55,A46,A38,A30,) can return #VALUE indicating wrong syntax.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101
Firefox/53.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170426/f7da6c85/attachment.html>


More information about the Libreoffice-bugs mailing list