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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs