Kaydet (Commit) 29c4c820 authored tarafından Eike Rathke's avatar Eike Rathke

Remove artificial parameter count limit from NPV()

Change-Id: I09b1afa89d57a41a3c58cd7cc27ea62dcd508550
üst 151ee1eb
......@@ -1290,7 +1290,7 @@ void ScInterpreter::ScNPV()
{
nFuncFmtType = css::util::NumberFormat::CURRENCY;
short nParamCount = GetByte();
if ( MustHaveParamCount( nParamCount, 2, 31 ) )
if ( MustHaveParamCountMin( nParamCount, 2) )
{
double nVal = 0.0;
// We turn the stack upside down!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment