From 64462f79ae40600979c09e63ac35e834e34c75c5 Mon Sep 17 00:00:00 2001 From: TimLee88 Date: Thu, 9 Nov 2023 08:41:56 +0800 Subject: [PATCH] Update MultiOperandNumericFunction.cs --- main/SS/Formula/Functions/MultiOperandNumericFunction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/SS/Formula/Functions/MultiOperandNumericFunction.cs b/main/SS/Formula/Functions/MultiOperandNumericFunction.cs index 134f5a935..93ffa5514 100644 --- a/main/SS/Formula/Functions/MultiOperandNumericFunction.cs +++ b/main/SS/Formula/Functions/MultiOperandNumericFunction.cs @@ -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.