File tree Expand file tree Collapse file tree 2 files changed +50
-148
lines changed
csharp/ToolGood.Algorithm Expand file tree Collapse file tree 2 files changed +50
-148
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public override Operand Calculate(AlgorithmEngine work)
167167 var index = op . IntValue - work . ExcelIndex ;
168168 if ( index < obj . ArrayValue . Count )
169169 return obj . ArrayValue [ index ] ;
170- return Operand . Error ( "ARRARY index {0} greater than maximum length!" , index . ToString ( ) ) ;
170+ return Operand . Error ( "ARRARY index {0} greater than maximum length!" , index ) ;
171171 }
172172 if ( obj . Type == OperandType . ARRARYJSON ) {
173173 if ( op . Type == OperandType . NUMBER ) {
@@ -200,7 +200,7 @@ public override Operand Calculate(AlgorithmEngine work)
200200 if ( v . IsNull ) return Operand . CreateNull ( ) ;
201201 return Operand . Create ( v ) ;
202202 }
203- return Operand . Error ( "JSON index {0} greater than maximum length!" , index . ToString ( ) ) ;
203+ return Operand . Error ( "JSON index {0} greater than maximum length!" , index ) ;
204204 } else {
205205 op = op . ToText ( "JSON parameter name is error!" ) ;
206206 if ( op . IsError ) { return op ; }
You can’t perform that action at this time.
0 commit comments