# aggregationFn_sum

# Variable: aggregationFn\_sum

```ts
const aggregationFn_sum: AggregationFnDef<any, any, unknown, number>;
```

Defined in: [features/row-aggregation/aggregationFns.ts:34](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/aggregationFns.ts#L34)

Sums numeric selected-row values. Non-number values contribute zero. As in
the previous API, `NaN` is a number and therefore propagates through the sum.
