Skip to content

Commit

Permalink
Update MultiOperandNumericFunction.cs
Browse files Browse the repository at this point in the history
Set DEFAULT_MAX_NUM_OPERANDS as MaxFunctionArgs of Excel 2007
  • Loading branch information
TimLee88 committed Nov 8, 2023
1 parent 6da0232 commit e1d3012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/SS/Formula/Functions/MultiOperandNumericFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void Add(double value)
}
}

private const int DEFAULT_MAX_NUM_OPERANDS = 30;
private static readonly int DEFAULT_MAX_NUM_OPERANDS = SpreadsheetVersion.EXCEL2007.MaxFunctionArgs;

/**
* Maximum number of operands accepted by this function.
Expand Down

0 comments on commit e1d3012

Please sign in to comment.