[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [sum](./js-utils.sum.md)
## sum() function
Add numbers.
Signature:
```typescript
export declare function sum(a: number, b: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| a | number | |
| b | number | |
Returns:
number