https://issues.apache.org/bugzilla/show_bug.cgi?id=55032
Bug ID: 55032
Summary: if a formula contains optional argument, it throws a
runtime exception
Product: POI
Version: 3.8
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Problem Description:
if you enter a formula like
=PV(0.08/12, 20*12, 500, ,0)
Notice the 4th argument is missing. In this case, 4th and 5th arguments are
both optional.
Actual:
it throws java.lang.RuntimeException: Unexpected arg eval type
(org.apache.poi.ss.formula.eval.MissingArgEval)
Expected:
It seems it cannot accept an optional argument in the middle of argument list.
But Excel can accept and treat the omitted arguments as 0.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]