第一列为备注型,第二列为双精度小数
备注型中输入以下字符串
600458,,600462,,006396,,017333,,600759,,017141,,600763,,600764,,600765,,006284,,013377,,013376,,013375,,006404,,006791,,006383,,012355,,010524,,010537,,014653,,006392,,006384,,006385,,006386,,006388,,006282,,006281,,017255,
选中第一列和第二列
执行一下代码
Output.Show(CurrentTable.Aggregate(Foxtable.AggregateEnum.Sum, CurrentTable.TopRow, CurrentTable.LeftCol, CurrentTable.BottomRow, CurrentTable.RightCol))
报错
---------------------------
版本:2017.6.12.1
---------------------------
代码执行出错,错误信息:
System.OverflowException: 值对于 Decimal 太大或太小。
在 System.Decimal..ctor(Double value)
在 #s5.#6mb.#5mb(Object #Pu)
在 #s5.#2fb.Aggregate(AggregateEnum #gc, CellRange #Ccb, AggregateFlags #pC)
在 C1.Win.C1FlexGrid.C1FlexGridBase.Aggregate(AggregateEnum aggType, CellRange rg, AggregateFlags flags)
在 C1.Win.C1FlexGrid.C1FlexGridBase.Aggregate(AggregateEnum aggType, Int32 topRow, Int32 leftCol, Int32 bottomRow, Int32 rightCol, AggregateFlags flags)
在 Foxtable.Table.Aggregate(AggregateEnum AggregateType, Int32 R1, Int32 C1, Int32 R2, Int32 C2)
在 UserCode.Test()
---------------------------
确定
---------------------------