```ts
cum(value: number): number
```

Accumulates the given value by adding it to the total from previous calculations.

## Parameters

- `value`: The numerical value to be accumulated.

## Returns

- The cumulative total after adding the current value.

## Summary

The `cum` function provides a straightforward method for accumulating a numerical value over time. It is useful for creating running totals or for tracking progressive addition through a series of values. This function is typically employed in financial contexts where tracking the progression of a quantity, such as investment growth, running balances, or total expenses, is necessary.

*Note: The function is designed to handle numerical inputs only and will maintain the cumulative total throughout the series of values.*
